From 71ba425bc8645e049335d4729cd8e7d5eb576b0c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 3 Nov 2022 08:35:12 +0100 Subject: [PATCH] increase alert time for overpass database age --- 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 ac45cc62c..92983b27a 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -383,8 +383,8 @@ groups: - name: overpass rules: - alert: overpass osm database age - expr: overpass_database_age_seconds{database="osm"} > 1800 - for: 5m + expr: overpass_database_age_seconds{database="osm"} > 3600 + for: 1h labels: alertgroup: overpass annotations: -- 2.39.5