From cba7532d66e48bf49632eaf22d4ba9407b8182af Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 22 Jul 2022 00:54:14 +0100 Subject: [PATCH] Reduce sensitivity of some alerts --- cookbooks/prometheus/templates/default/alert_rules.yml.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index 78f72e2a1..a52901233 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -5,7 +5,7 @@ groups: rules: - alert: prometheus target missing expr: up == 0 - for: 5m + for: 10m labels: alertgroup: "prometheus" - name: amsterdam @@ -459,7 +459,7 @@ groups: rules: - alert: statuscake uptime check failing expr: statuscake_uptime{status="down",paused="false"} > 0 - for: 0m + for: 10m labels: alertgroup: statuscake - name: systemd -- 2.39.5