]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/alert_rules.yml.erb
foundation: use noreply wiki sender
[chef.git] / cookbooks / prometheus / templates / default / alert_rules.yml.erb
index 3618f1461ff485b666b8eb26c510cca2f95760ce..1736da60cf16138b80cf5d8cc50ee60e68b94555 100644 (file)
@@ -99,8 +99,8 @@ groups:
   - name: database
     rules:
       - alert: postgres replication delay
-        expr: pg_replication_lag_seconds > 5
-        for: 5m
+        expr: pg_replication_lag_seconds > 30
+        for: 15m
         labels:
           alertgroup: database
         annotations:
@@ -489,8 +489,8 @@ groups:
         labels:
           alertgroup: "{{ $labels.instance }}"
       - alert: postgresql replication delay
-        expr: pg_replication_lag_seconds > 5
-        for: 1m
+        expr: pg_replication_lag_seconds > 30
+        for: 15m
         labels:
           alertgroup: "{{ $labels.instance }}"
         annotations:
@@ -639,8 +639,8 @@ groups:
         annotations:
           miss_rate: "{{ $value | humanizePercentage }}"
       - alert: tile render rate
-        expr: sum(rate(renderd_zoom_metatiles_total[5m])) by (instance) < 1
-        for: 5m
+        expr: sum(rate(renderd_zoom_metatiles_total[5m])) by (instance) == 0
+        for: 15m
         labels:
           alertgroup: tile
         annotations: