From 874e30fb28cc0dcd52e3738104cc2518b962840b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 23 Feb 2025 20:46:25 +0100 Subject: [PATCH] Tune cpu alarm --- services/monitoring/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/monitoring/prometheus.nix b/services/monitoring/prometheus.nix index aaab3e1..271b514 100644 --- a/services/monitoring/prometheus.nix +++ b/services/monitoring/prometheus.nix @@ -61,7 +61,7 @@ description: "Disk space is low on {{ $labels.instance }}. Please check." - alert: high_cpu_load expr: max(node_load5{}) by (instance) > (count by (instance)(node_cpu_seconds_total{mode="idle"}) * 0.7) - for: 5m + for: 15m labels: severity: warning annotations: