From 85aed0276e17041610f3a24fcb4729dcc3444d54 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 29 Oct 2018 12:05:24 +0100 Subject: [PATCH] Update grafana_stats.json The grafana_stats.json used the following prometheus query: "increase(grafana_alerting_result_total[1m])" But a metric called "grafana_alerting_result_total" is currently not there anymore. So i changed the query to "increase(grafana_alerting_active_alerts[1m])" and updated the title as well (Before: "Grafana alert results", Now: "Grafana active alerts"). --- .../datasource/prometheus/dashboards/grafana_stats.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/app/plugins/datasource/prometheus/dashboards/grafana_stats.json b/public/app/plugins/datasource/prometheus/dashboards/grafana_stats.json index aa9384a907d..47975d83d9c 100644 --- a/public/app/plugins/datasource/prometheus/dashboards/grafana_stats.json +++ b/public/app/plugins/datasource/prometheus/dashboards/grafana_stats.json @@ -753,7 +753,7 @@ "steppedLine": false, "targets": [ { - "expr": "increase(grafana_alerting_result_total[1m])", + "expr": "increase(grafana_alerting_active_alerts[1m])", "format": "time_series", "intervalFactor": 3, "legendFormat": "{{state}}", @@ -764,7 +764,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Grafana alert results", + "title": "Grafana active alerts", "tooltip": { "shared": true, "sort": 0, @@ -1049,4 +1049,4 @@ ] }, "timezone": "" - } \ No newline at end of file + }