From b6acda763a19f4d88c3fb33b64e4fc0972ae54b7 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 28 Aug 2025 04:12:51 +0100 Subject: [PATCH] smokeping keep_firing_for alert rule in attempt to reduce flapping --- cookbooks/prometheus/templates/default/alert_rules.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index 52f96b438..b770dba49 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -785,7 +785,7 @@ groups: - alert: packet loss expr: 1 - (rate(smokeping_response_duration_seconds_count[5m]) / rate(smokeping_requests_total[5m])) > 0.02 for: 10m - keep_firing_for: 5m + keep_firing_for: 10m labels: alertgroup: smokeping annotations: -- 2.39.5