]> git.openstreetmap.org Git - chef.git/commitdiff
Avoid alerting on transient taginfo size changes during updates
authorTom Hughes <tom@compton.nu>
Sat, 6 May 2023 11:02:41 +0000 (12:02 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 6 May 2023 11:02:41 +0000 (12:02 +0100)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index 2a7fd1b097d8a557c3d6a8fa0d26424aeb69f6ed..b53007521e9c3df529ff600d122c5db4d04c217f 100644 (file)
@@ -675,7 +675,7 @@ groups:
           age: "{{ $value | humanizeDuration }}"
       - alert: taginfo database size
         expr: abs(delta(taginfo_database_size_bytes[30m])) / taginfo_database_size_bytes > 0.1
           age: "{{ $value | humanizeDuration }}"
       - alert: taginfo database size
         expr: abs(delta(taginfo_database_size_bytes[30m])) / taginfo_database_size_bytes > 0.1
-        for: 0m
+        for: 30m
         labels:
           alertgroup: taginfo
         annotations:
         labels:
           alertgroup: taginfo
         annotations: