]> git.openstreetmap.org Git - chef.git/blob - cookbooks/prometheus/templates/default/alertmanager.yml.erb
split configuration in two, include new templates
[chef.git] / cookbooks / prometheus / templates / default / alertmanager.yml.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 global:
4   smtp_smarthost: localhost:25
5   smtp_from: prometheus@openstreetmap.org
6   smtp_require_tls: false
7
8 templates:
9   - /etc/prometheus/alertmanager_templates/*.tmpl
10
11 route:
12   group_by:
13     - alertgroup
14   group_wait: 30s
15   group_interval: 5m
16   repeat_interval: 3h
17   receiver: admins-email
18
19 inhibit_rules:
20
21 receivers:
22   - name: admins-email
23     email_configs:
24       - send_resolved: true
25         to: admins@openstreetmap.org