diff --git a/services/monitoring/prometheus.nix b/services/monitoring/prometheus.nix index f948163..aaab3e1 100644 --- a/services/monitoring/prometheus.nix +++ b/services/monitoring/prometheus.nix @@ -11,7 +11,7 @@ receiver = "webhook_natstonotify"; group_wait = "30s"; group_interval = "5m"; - repeat_interval = "12h"; + repeat_interval = "1h"; group_by = [ "alertname" ]; }; receivers = [ @@ -140,8 +140,8 @@ - name: nix_cache_rules rules: - alert: build-flakes_service_failed - expr: node_systemd_unit_state{instance="nix-cache01.home.2rjus.net:9100", name="build-flakes.service",state="failed"} == 1 - for: 5m + expr: node_systemd_unit_state{instance="nix-cache01.home.2rjus.net:9100", name="build-flakes.service", state="failed"} == 1 + for: 0m labels: severity: critical annotations: