3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/grafana-mixin/alerts
Pedro Araújo 18fdb89554
grafana-mixin: Fix GrafanaRequestsFailing alert ()
Due to PromQL's label matching, both sides of the division will have same series; that means that, whenever there's a 5xx error, both sides will have the same value and the division will be `1`. I believe the idea was to get the ratio of 5xx compared will all status code, and to do that, we need to aggregate the `status_code` dimension away.
2021-12-20 15:12:37 +01:00
..
alerts.libsonnet grafana-mixin: Fix GrafanaRequestsFailing alert () 2021-12-20 15:12:37 +01:00