]> git.openstreetmap.org Git - chef.git/commitdiff
Increase alert window for site power usage alert
authorGrant Slater <github@firefishy.com>
Fri, 7 Apr 2023 00:16:22 +0000 (01:16 +0100)
committerGrant Slater <github@firefishy.com>
Fri, 7 Apr 2023 00:16:22 +0000 (01:16 +0100)
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
-        for: 0m
+        for: 6m
         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
-        for: 0m
+        for: 6m
         labels:
           alertgroup: "dublin"
         annotations: