mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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").
This commit is contained in:
@@ -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": ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user