This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,16 @@ local utils = import 'mixin-utils/utils.libsonnet';
110
110
$.panel('Latency' ) +
111
111
utils.latencyRecordingRulePanel('cortex_kv_request_duration_seconds' , $.jobSelector($._config.job_names.distributor) + [utils.selector.eq('kv_name' , 'distributor-hatracker' )])
112
112
)
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
+ },
113
123
)
114
124
)
115
125
.addRow(
@@ -138,8 +148,15 @@ local utils = import 'mixin-utils/utils.libsonnet';
138
148
)
139
149
.addPanel(
140
150
$.panel('Latency' ) +
141
- utils.latencyRecordingRulePanel('cortex_kv_request_duration_seconds' , $.jobSelector($._config.job_names.ingester)+ [utils.selector.eq('kv_name' , 'ingester-lifecycler' )])
151
+ utils.latencyRecordingRulePanel('cortex_kv_request_duration_seconds' , $.jobSelector($._config.job_names.ingester) + [utils.selector.eq('kv_name' , 'ingester-lifecycler' )])
142
152
)
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
+ ])
143
160
)
144
161
)
145
162
.addRowIf(
You can’t perform that action at this time.
0 commit comments