From 63c451af911b5e3476abf3637f53189eba96e745 Mon Sep 17 00:00:00 2001 From: Gabriel Cocenza Date: Wed, 27 Nov 2024 10:46:18 -0300 Subject: [PATCH] remove filter grafana-agent already inject the juju topology, so it's not necessary to filter by jobs or application --- src/alert_rules/prometheus/prometheus_alerts.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alert_rules/prometheus/prometheus_alerts.yaml b/src/alert_rules/prometheus/prometheus_alerts.yaml index 34ecb9eac..600441cfd 100644 --- a/src/alert_rules/prometheus/prometheus_alerts.yaml +++ b/src/alert_rules/prometheus/prometheus_alerts.yaml @@ -7,7 +7,7 @@ "message": "Scrape on {{ $labels.juju_unit }} failed. Ensure that the OpenSearch systemd service is healthy and that the unit is part of the cluster." "summary": "OpenSearch exporter scrape failed" "expr": | - up{job=~".*opensearch_.*"} < 1 + up < 1 "for": "5m" "labels": "severity": "critical"