From 753f3e52334e3a2ab298ec0194980befb5c57e12 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 3 Oct 2023 11:43:17 +0200 Subject: [PATCH] service/blackbox: increase alarm thresholds --- modules/services/blackbox/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/services/blackbox/default.nix b/modules/services/blackbox/default.nix index 0598ef3..18ece89 100644 --- a/modules/services/blackbox/default.nix +++ b/modules/services/blackbox/default.nix @@ -99,8 +99,8 @@ in }; }; BlackboxSlowProbe = { - condition = ''avg_over_time(probe_duration_seconds[1m]) > 1''; - description = "Blackbox probe took more than 1s to complete\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"; + condition = ''avg_over_time(probe_duration_seconds[1m]) > 2''; + description = "Blackbox probe took more than 2s to complete\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"; time = "1m"; labels = { severity = "warning"; @@ -128,8 +128,8 @@ in }; }; BlackboxProbeSlowHttp = { - condition = ''avg_over_time(probe_http_duration_seconds[1m]) > 1''; - description = "HTTP request took more than 1s\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"; + condition = ''avg_over_time(probe_http_duration_seconds[1m]) > 2''; + description = "HTTP request took more than 2s\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"; time = "1m"; labels = { severity = "warning";