]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/alert_rules.yml.erb
Correct annotation for pressure alerts
[chef.git] / cookbooks / prometheus / templates / default / alert_rules.yml.erb
index 7d7fa4abfdeed6c429523e163f33570b5e083abd..9a9008ac263e05922760686ac6ac720ad32c48c2 100644 (file)
@@ -30,7 +30,7 @@ groups:
         labels:
           alertgroup: "{{ $labels.instance }}"
         annotations:
-          major_page_faults: "{{ $value | humanizePercentage }}"
+          pressure: "{{ $value | humanizePercentage }}"
   - name: database
     rules:
       - alert: postgres replication delay
@@ -101,7 +101,7 @@ groups:
         labels:
           alertgroup: "{{ $labels.instance }}"
         annotations:
-          major_page_faults: "{{ $value | humanizePercentage }}"
+          pressure: "{{ $value | humanizePercentage }}"
   - name: ipmi
     rules:
       - alert: ipmi fan alarm
@@ -177,7 +177,7 @@ groups:
         labels:
           alertgroup: "{{ $labels.instance }}"
         annotations:
-          major_page_faults: "{{ $value | humanizePercentage }}"
+          pressure: "{{ $value | humanizePercentage }}"
       - alert: oom kill detected
         expr: increase(node_vmstat_oom_kill[1m]) > 0
         for: 0m