]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/alert_rules.yml.erb
Relax thresholds for packet loss reporting
[chef.git] / cookbooks / prometheus / templates / default / alert_rules.yml.erb
index f794381820a4c7971e566990c264b877cf832aa4..cb8d91e99444379eb24b51336e86b4f24c9373ea 100644 (file)
@@ -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: