From 69c93e6401b64e46368ec829d8cf867d4c0b74e9 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Sat, 3 Mar 2018 13:40:28 +0100 Subject: [PATCH] Fix Prometheus 2.0 stats (#11048) Fixes #11016 Signed-off-by: Julien Pivotto --- .../dashboards/prometheus_2_stats.json | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/public/app/plugins/datasource/prometheus/dashboards/prometheus_2_stats.json b/public/app/plugins/datasource/prometheus/dashboards/prometheus_2_stats.json index 6d6a1972d16..636575b7240 100644 --- a/public/app/plugins/datasource/prometheus/dashboards/prometheus_2_stats.json +++ b/public/app/plugins/datasource/prometheus/dashboards/prometheus_2_stats.json @@ -348,7 +348,7 @@ "tableColumn": "", "targets": [ { - "expr": "tsdb_wal_corruptions_total{job=\"prometheus\"}", + "expr": "prometheus_tsdb_wal_corruptions_total{job=\"prometheus\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "", @@ -1048,7 +1048,7 @@ "steppedLine": false, "targets": [ { - "expr": "max(prometheus_evaluator_duration_seconds{job=\"prometheus\", quantile!=\"0.01\", quantile!=\"0.05\"}) by (quantile)", + "expr": "max(prometheus_rule_group_duration_seconds{job=\"prometheus\"}) by (quantile)", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -1060,7 +1060,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Rule Eval Duration", + "title": "Rule Group Eval Duration", "tooltip": { "shared": true, "sort": 0, @@ -1124,7 +1124,7 @@ "steppedLine": false, "targets": [ { - "expr": "rate(prometheus_evaluator_iterations_missed_total{job=\"prometheus\"}[5m])", + "expr": "rate(prometheus_rule_group_iterations_missed_total{job=\"prometheus\"}[5m])", "format": "time_series", "intervalFactor": 2, "legendFormat": "missed", @@ -1132,15 +1132,7 @@ "step": 10 }, { - "expr": "rate(prometheus_evaluator_iterations_skipped_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "skipped", - "refId": "C", - "step": 10 - }, - { - "expr": "rate(prometheus_evaluator_iterations_total{job=\"prometheus\"}[5m])", + "expr": "rate(prometheus_rule_group_iterations_total{job=\"prometheus\"}[5m])", "format": "time_series", "intervalFactor": 2, "legendFormat": "iterations", @@ -1151,7 +1143,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Rule Eval Activity", + "title": "Rule Group Eval Activity", "tooltip": { "shared": true, "sort": 0,