Skip to content

Commit c762b9b

Browse files
fix(mixins): retention dashboards fix metric name (#14617)
1 parent b872246 commit c762b9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎production/loki-mixin-compiled-ssd/dashboards/loki-retention.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@
495495
"span": 6,
496496
"targets": [
497497
{
498-
"expr": "sum(increase(loki_compactor_skipped_compacting_locked_table_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__range]))",
498+
"expr": "sum(loki_compactor_locked_table_successive_compaction_skips{cluster=~\"$cluster\", namespace=~\"$namespace\"})",
499499
"format": "time_series",
500500
"legendFormat": "{{table_name}}",
501501
"legendLink": null

‎production/loki-mixin-compiled/dashboards/loki-retention.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@
495495
"span": 6,
496496
"targets": [
497497
{
498-
"expr": "sum(increase(loki_compactor_skipped_compacting_locked_table_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__range]))",
498+
"expr": "sum(loki_compactor_locked_table_successive_compaction_skips{cluster=~\"$cluster\", namespace=~\"$namespace\"})",
499499
"format": "time_series",
500500
"legendFormat": "{{table_name}}",
501501
"legendLink": null

‎production/loki-mixin/dashboards/loki-retention.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
$.row('')
4141
.addPanel(
4242
$.newQueryPanel('Number of times Tables were skipped during Compaction') +
43-
$.queryPanel(['sum(increase(loki_compactor_skipped_compacting_locked_table_total{%s}[$__range]))' % $.namespaceMatcher()], ['{{table_name}}']),
43+
$.queryPanel(['sum(loki_compactor_locked_table_successive_compaction_skips{%s})' % $.namespaceMatcher()], ['{{table_name}}']),
4444
)
4545
.addPanel(
4646
$.newQueryPanel('Compact Tables Operations Per Status') +

0 commit comments

Comments
 (0)