From b83bda6d0817a8b87c3eef27b6656b427ea0b034 Mon Sep 17 00:00:00 2001 From: James Ryans <46216691+james-ryans@users.noreply.github.com> Date: Tue, 3 Oct 2023 20:26:19 +0700 Subject: [PATCH] Fix JaegerQueryReqsFailing alert rule missing 'operation' in query (#4797) --- monitoring/jaeger-mixin/prometheus_alerts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/jaeger-mixin/prometheus_alerts.yml b/monitoring/jaeger-mixin/prometheus_alerts.yml index bc57a14c3c1..983a5f3bbd3 100644 --- a/monitoring/jaeger-mixin/prometheus_alerts.yml +++ b/monitoring/jaeger-mixin/prometheus_alerts.yml @@ -61,7 +61,7 @@ "annotations": "message": | {{ $labels.job }} {{ $labels.instance }} is seeing {{ printf "%.2f" $value }}% query errors on {{ $labels.operation }}. - "expr": "100 * sum(rate(jaeger_query_requests_total{result=\"err\"}[1m])) by (instance, job, namespace) / sum(rate(jaeger_query_requests_total[1m])) by (instance, job, namespace)> 1" + "expr": "100 * sum(rate(jaeger_query_requests_total{result=\"err\"}[1m])) by (instance, job, namespace, operation) / sum(rate(jaeger_query_requests_total[1m])) by (instance, job, namespace, operation)> 1" "for": "15m" "labels": "severity": "warning"