]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/alertmanager.yml.erb
Drop alertmanager API block
[chef.git] / cookbooks / prometheus / templates / default / alertmanager.yml.erb
index 4df70fd9454177ed77d3f2b0845d540ad45d3a28..7433f99d8ab0f8b68f45523da901b7f389dedcad 100644 (file)
@@ -3,13 +3,14 @@
 global:
   smtp_smarthost: localhost:25
   smtp_from: prometheus@openstreetmap.org
+  smtp_require_tls: false
 
 templates:
   - /etc/prometheus/alertmanager_templates/*.tmpl
 
 route:
   group_by:
-    - service
+    - alertgroup
   group_wait: 30s
   group_interval: 5m
   repeat_interval: 3h
@@ -20,4 +21,5 @@ inhibit_rules:
 receivers:
   - name: admins-email
     email_configs:
-      - to: admins@openstreetmap.org
+      - send_resolved: true
+        to: admins@openstreetmap.org