]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/alert_rules.yml.erb
web: increase mod_evasive page count to allow iD tiled API requests
[chef.git] / cookbooks / prometheus / templates / default / alert_rules.yml.erb
index a0cea579289fde937a6e5947704aa618a1b5b65d..dfb83891d33b18040190d67359e071e0fd29a78f 100644 (file)
@@ -118,7 +118,7 @@ groups:
         labels:
           alertgroup: database
         annotations:
-          delay: "{{ $value }}"
+          queries: "{{ $value }}"
   - name: discourse
     rules:
       - alert: discourse job failure rate
@@ -488,6 +488,11 @@ groups:
           alertgroup: nominatim
         annotations:
           delay: "{{ $value | humanizeDuration }}"
+      - alert: nominatim connections
+        expr: sum(nginx_connections_writing and on (instance) chef_role{name="nominatim"}) > 2500
+        for: 15m
+        labels:
+          alertgroup: nominatim
   - name: overpass
     rules:
       - alert: overpass osm database age