From ab85ba751aa20ffc5624eb68766b7d8e29df0ea4 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 12 Nov 2024 13:41:25 +0100 Subject: [PATCH] alertmanager: enable e2e_dead_man_switch --- modules/prometheus/alert-rules.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/prometheus/alert-rules.nix b/modules/prometheus/alert-rules.nix index 556071b8..a4846732 100644 --- a/modules/prometheus/alert-rules.nix +++ b/modules/prometheus/alert-rules.nix @@ -24,10 +24,10 @@ lib.mapAttrsToList # description = "Configurations of AlertManager cluster instances are out of sync."; # }; - #alert_manager_e2e_dead_man_switch = { - # condition = "vector(1)"; - # description = "Prometheus DeadManSwitch is an always-firing alert. It's used as an end-to-end test of Prometheus through the Alertmanager."; - #}; + alert_manager_e2e_dead_man_switch = { + condition = "vector(1)"; + description = "Prometheus DeadManSwitch is an always-firing alert. It's used as an end-to-end test of Prometheus through the Alertmanager."; + }; # prometheus_not_connected_to_alertmanager = { # condition = "prometheus_notifications_alertmanagers_discovered < 1";