File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -205,11 +205,11 @@ local utils = import 'mixin-utils/utils.libsonnet';
205
205
$.queryPanel(
206
206
[
207
207
|||
208
- sum(cluster_job:cortex_alertmanager_state_replication_total{%s}:rate5m )
208
+ sum(cluster_job:cortex_alertmanager_state_replication_total:rate5m {%s})
209
209
-
210
- sum(cluster_job:cortex_alertmanager_state_replication_failed_total{%s}:rate5m )
210
+ sum(cluster_job:cortex_alertmanager_state_replication_failed_total:rate5m {%s})
211
211
||| % [$.jobMatcher('alertmanager' ), $.jobMatcher('alertmanager' )],
212
- 'sum(cluster_job:cortex_alertmanager_state_replication_failed_total{%s}:rate5m )' % $.jobMatcher('alertmanager' ),
212
+ 'sum(cluster_job:cortex_alertmanager_state_replication_failed_total:rate5m {%s})' % $.jobMatcher('alertmanager' ),
213
213
],
214
214
['success' , 'failed' ]
215
215
)
@@ -219,11 +219,11 @@ local utils = import 'mixin-utils/utils.libsonnet';
219
219
$.queryPanel(
220
220
[
221
221
|||
222
- sum(cluster_job:cortex_alertmanager_partial_state_merges_total{%s}:rate5m )
222
+ sum(cluster_job:cortex_alertmanager_partial_state_merges_total:rate5m {%s})
223
223
-
224
- sum(cluster_job:cortex_alertmanager_partial_state_merges_failed_total{%s}:rate5m )
224
+ sum(cluster_job:cortex_alertmanager_partial_state_merges_failed_total:rate5m {%s})
225
225
||| % [$.jobMatcher('alertmanager' ), $.jobMatcher('alertmanager' )],
226
- 'sum(cluster_job:cortex_alertmanager_partial_state_merges_failed_total{%s}:rate5m )' % $.jobMatcher('alertmanager' ),
226
+ 'sum(cluster_job:cortex_alertmanager_partial_state_merges_failed_total:rate5m {%s})' % $.jobMatcher('alertmanager' ),
227
227
],
228
228
['success' , 'failed' ]
229
229
)
Original file line number Diff line number Diff line change @@ -414,15 +414,15 @@ local utils = import 'mixin-utils/utils.libsonnet';
414
414
||| ,
415
415
},
416
416
{
417
- record: 'cluster_job:cortex_alertmanager_state_persist_total :rate5m' ,
417
+ record: 'cluster_job:cortex_alertmanager_partial_state_merges_total :rate5m' ,
418
418
expr: |||
419
- sum by (cluster, job) (rate(cortex_alertmanager_state_persist_total [5m]))
419
+ sum by (cluster, job) (rate(cortex_alertmanager_partial_state_merges_total [5m]))
420
420
||| ,
421
421
},
422
422
{
423
- record: 'cluster_job:cortex_alertmanager_state_persist_failed_total :rate5m' ,
423
+ record: 'cluster_job:cortex_alertmanager_partial_state_merges_failed_total :rate5m' ,
424
424
expr: |||
425
- sum by (cluster, job) (rate(cortex_alertmanager_state_persist_failed_total [5m]))
425
+ sum by (cluster, job) (rate(cortex_alertmanager_partial_state_merges_failed_total [5m]))
426
426
||| ,
427
427
},
428
428
],
You can’t perform that action at this time.
0 commit comments