This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,16 @@ local utils = import 'mixin-utils/utils.libsonnet';
110110 $.panel('Latency' ) +
111111 utils.latencyRecordingRulePanel('cortex_kv_request_duration_seconds' , $.jobSelector($._config.job_names.distributor) + [utils.selector.eq('kv_name' , 'distributor-hatracker' )])
112112 )
113+ .addPanel(
114+ $.panel('Elected replica changes / min' ) +
115+ $.queryPanel([
116+ 'max by(exported_cluster, user)(increase(cortex_ha_tracker_elected_replica_changes_total{%s}[1m])) >0' % $.jobMatcher($._config.job_names.distributor),
117+ ], [
118+ '{{user}}/{{exported_cluster}}' ,
119+ ]) +
120+ $.stack + {
121+ yaxes: $.yaxes('cpm' ),
122+ },
113123 )
114124 )
115125 .addRow(
@@ -140,6 +150,13 @@ local utils = import 'mixin-utils/utils.libsonnet';
140150 $.panel('Latency' ) +
141151 utils.latencyRecordingRulePanel('cortex_kv_request_duration_seconds' , $.jobSelector($._config.job_names.ingester)+ [utils.selector.eq('kv_name' , 'ingester-lifecycler' )])
142152 )
153+ .addPanel(
154+ $.panel('Ingester status' ) +
155+ $.queryPanel([
156+ 'max by (state)(cortex_ring_members{%s}) >0' % $.jobMatcher($._config.job_names.distributor),
157+ ], [
158+ '{{state}}' ,
159+ ])
143160 )
144161 )
145162 .addRowIf(
You can’t perform that action at this time.
0 commit comments