From: Tom Hughes Date: Mon, 25 Jul 2022 12:25:57 +0000 (+0100) Subject: Fix syntax error in alert rules X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/923a789051a29fbbce773c56505be4b78fcc4287 Fix syntax error in alert rules --- diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index 23bb157e4..61a7370b1 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -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