From 663ef8feb18e4dc2757f269f096832e0447d2f6a Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 10 Sep 2024 14:28:42 +0200 Subject: [PATCH] alerts: fix condition --- modules/prometheus/alert-rules.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prometheus/alert-rules.nix b/modules/prometheus/alert-rules.nix index 30a28d2..866709b 100644 --- a/modules/prometheus/alert-rules.nix +++ b/modules/prometheus/alert-rules.nix @@ -252,7 +252,7 @@ lib.mapAttrsToList # }; garage_cluster_healthy = { - condition = "cluster_healthy = 0"; + condition = "cluster_healthy == 0"; time = "15m"; description = "garage cluster on {{$labels.instance}} is not healthy: {{$labels.result}}!"; };