Skip to content

Commit

Permalink
add prometheus alert for too many parallel connections to nominatim
Browse files Browse the repository at this point in the history
  • Loading branch information
lonvia committed Jun 12, 2024
1 parent e1f6c06 commit 98c9ef9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cookbooks/prometheus/templates/default/alert_rules.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98c9ef9

Please sign in to comment.