From: Tom Hughes Date: Thu, 9 Mar 2023 08:26:59 +0000 (+0000) Subject: Relax thresholds for packet loss reporting X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c954aeff2861e3c9fcd8e236f08a2b15f4a00202?ds=sidebyside Relax thresholds for packet loss reporting --- diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index f79438182..cb8d91e99 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -587,8 +587,8 @@ groups: - name: smokeping rules: - alert: packet loss - expr: 1 - (rate(smokeping_response_duration_seconds_count[5m]) / rate(smokeping_requests_total[5m])) > 0 - for: 5m + expr: 1 - (rate(smokeping_response_duration_seconds_count[5m]) / rate(smokeping_requests_total[5m])) > 0.02 + for: 10m labels: alertgroup: smokeping annotations: