]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/alert_rules.yml.erb
Increase alert window for site power usage alert
[chef.git] / cookbooks / prometheus / templates / default / alert_rules.yml.erb
index 9a3c52920bd3c7793ffb88e1b21ea615368cee5b..9990483b855bfa1d4387a11b4830730a6e828c3f 100644 (file)
@@ -19,7 +19,7 @@ groups:
           current: "{{ $value | humanize }}A"
       - alert: site power
         expr: sum(rPDU2PhaseStatusApparentPower{site="amsterdam",rPDU2PhaseStatusIndex="1"} / 100) > 3
           current: "{{ $value | humanize }}A"
       - alert: site power
         expr: sum(rPDU2PhaseStatusApparentPower{site="amsterdam",rPDU2PhaseStatusIndex="1"} / 100) > 3
-        for: 0m
+        for: 6m
         labels:
           alertgroup: "amsterdam"
         annotations:
         labels:
           alertgroup: "amsterdam"
         annotations:
@@ -139,7 +139,7 @@ groups:
           current: "{{ $value | humanize }}A"
       - alert: site power
         expr: sum(rPDU2PhaseStatusApparentPower{site="dublin",rPDU2PhaseStatusIndex="1"} / 100) > 4
           current: "{{ $value | humanize }}A"
       - alert: site power
         expr: sum(rPDU2PhaseStatusApparentPower{site="dublin",rPDU2PhaseStatusIndex="1"} / 100) > 4
-        for: 0m
+        for: 6m
         labels:
           alertgroup: "dublin"
         annotations:
         labels:
           alertgroup: "dublin"
         annotations: