]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/alert_rules.yml.erb
Use correct metric for CPU pressure
[chef.git] / cookbooks / prometheus / templates / default / alert_rules.yml.erb
index 9a9008ac263e05922760686ac6ac720ad32c48c2..dc616f7b201cd6857cfeb93b97b98b45c40c63ae 100644 (file)
@@ -25,7 +25,7 @@ groups:
   - name: cpu
     rules:
       - alert: cpu pressure
-        expr: rate(node_pressure_memory_waiting_seconds_total[5m]) > 0.3
+        expr: rate(node_pressure_cpu_waiting_seconds_total[5m]) > 0.3
         for: 15m
         labels:
           alertgroup: "{{ $labels.instance }}"