From 923a789051a29fbbce773c56505be4b78fcc4287 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 25 Jul 2022 13:25:57 +0100 Subject: [PATCH] Fix syntax error in alert rules --- cookbooks/prometheus/templates/default/alert_rules.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5