]> git.openstreetmap.org Git - chef.git/commitdiff
Fix syntax error in alert rules
authorTom Hughes <tom@compton.nu>
Mon, 25 Jul 2022 12:25:57 +0000 (13:25 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 25 Jul 2022 12:25:57 +0000 (13:25 +0100)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index 23bb157e475be3098725eeb230a4cde2b759d1de..61a7370b1289595afe098b8a721030e785e660e8 100644 (file)
@@ -122,7 +122,7 @@ groups:
         annotations:
           error_rate: "{{ $value | humanizePercentage }}"
       - alert: fastly healthcheck failing
-        expr: fastly_healthcheck_status = 0
+        expr: fastly_healthcheck_status == 0
         for: 5m
         labels:
           alertgroup: fastly