]> git.openstreetmap.org Git - chef.git/commitdiff
Fix statuscake alerts
authorTom Hughes <tom@compton.nu>
Mon, 6 Mar 2023 00:21:06 +0000 (00:21 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 6 Mar 2023 00:21:06 +0000 (00:21 +0000)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index 7a535337264c8a90d42bd00653ecc5ff64ddb12a..848123602032a5cca93197285fa244009bb9022c 100644 (file)
@@ -611,7 +611,7 @@ groups:
   - name: statuscake
     rules:
       - alert: statuscake uptime check failing
-        expr: statuscake_uptime{status="down",paused="false"} > 0
+        expr: statuscake_paused == 0 and statuscake_up == 0
         for: 10m
         labels:
           alertgroup: statuscake