Commit 85aed027 by Sebastian Committed by GitHub

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").
parent 1f6df77a
...@@ -753,7 +753,7 @@ ...@@ -753,7 +753,7 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "increase(grafana_alerting_result_total[1m])", "expr": "increase(grafana_alerting_active_alerts[1m])",
"format": "time_series", "format": "time_series",
"intervalFactor": 3, "intervalFactor": 3,
"legendFormat": "{{state}}", "legendFormat": "{{state}}",
...@@ -764,7 +764,7 @@ ...@@ -764,7 +764,7 @@
"thresholds": [], "thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "Grafana alert results", "title": "Grafana active alerts",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 0,
...@@ -1049,4 +1049,4 @@ ...@@ -1049,4 +1049,4 @@
] ]
}, },
"timezone": "" "timezone": ""
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment