diff --git a/grafana-mixin/alerts/alerts.libsonnet b/grafana-mixin/alerts/alerts.libsonnet index fbd957b4fb9..1c92a59bf51 100644 --- a/grafana-mixin/alerts/alerts.libsonnet +++ b/grafana-mixin/alerts/alerts.libsonnet @@ -11,8 +11,8 @@ { alert: 'GrafanaRequestsFailing', expr: ||| - 100 * namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query", status_code=~"5.."} - / ignoring (status_code) group_left + 100 * sum without (status_code) (namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query", status_code=~"5.."}) + / sum without (status_code) (namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query"}) > %(grafanaRequestsFailingThresholdPercent)s ||| % $._config,