]> git.openstreetmap.org Git - chef.git/commitdiff
Reduce sensitivity of CPU pressure alerts
authorTom Hughes <tom@compton.nu>
Tue, 21 Mar 2023 17:34:01 +0000 (17:34 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 21 Mar 2023 18:48:47 +0000 (18:48 +0000)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index cb8d91e99444379eb24b51336e86b4f24c9373ea..c34647330051da1d2f98ea06b90959724cc82ccd 100644 (file)
@@ -90,8 +90,8 @@ groups:
   - name: cpu
     rules:
       - alert: cpu pressure
-        expr: rate(node_pressure_cpu_waiting_seconds_total[5m]) > 0.6
-        for: 15m
+        expr: rate(node_pressure_cpu_waiting_seconds_total[5m]) > 0.75
+        for: 60m
         labels:
           alertgroup: "{{ $labels.instance }}"
         annotations: