blob: f74687ccc3a45eb85ffe592bf4856eb996434887 [file] [log] [blame]
Bartosz Kupidura2f703962017-03-09 12:12:27 +01001applications:
Bartosz Kupidura13f39f22017-05-29 15:05:06 +02002 - prometheus
Bartosz Kupidura2f703962017-03-09 12:12:27 +01003parameters:
4 prometheus:
5 alertmanager:
6 enabled: true
Bartosz Kupiduraabec2562017-05-17 16:00:52 +02007 dir:
8 config: /srv/volumes/prometheus/alertmanager
9 data: /srv/volumes/local/prometheus/alertmanager
Bartosz Kupidura2f703962017-03-09 12:12:27 +010010 bind:
11 address: 0.0.0.0
12 port: 9093
13 config:
14 global:
15 resolve_timeout: 5m
16 route:
Bartosz Kupidura953510a2017-05-12 12:49:44 +020017 group_by: ['region', 'service']
Bartosz Kupidura2f703962017-03-09 12:12:27 +010018 group_wait: 60s
19 group_interval: 5m
20 repeat_interval: 3h
21 receiver: HTTP-notification
Bartosz Kupidura953510a2017-05-12 12:49:44 +020022 inhibit_rule:
23 InhibitCriticalWhenDown:
24 enabled: true
25 source_match:
Bartosz Kupidura2f703962017-03-09 12:12:27 +010026 severity: 'down'
27 target_match:
28 severity: 'critical'
29 equal: ['region', 'service']
Bartosz Kupidura953510a2017-05-12 12:49:44 +020030 InhibitWarningWhenDown:
31 enabled: true
32 source_match:
Bartosz Kupidura2f703962017-03-09 12:12:27 +010033 severity: 'down'
34 target_match:
35 severity: 'warning'
36 equal: ['region', 'service']
Bartosz Kupidura953510a2017-05-12 12:49:44 +020037 InhibitWarningWhenCritical:
38 enabled: true
39 source_match:
Bartosz Kupidura2f703962017-03-09 12:12:27 +010040 severity: 'critical'
41 target_match:
42 severity: 'warning'
Swann Croiset82366ab2017-06-07 11:07:20 +020043 equal: ['region', 'service']
Bartosz Kupidura953510a2017-05-12 12:49:44 +020044 receiver:
45 HTTP-notification:
46 enabled: true
Bartosz Kupidura2f703962017-03-09 12:12:27 +010047 webhook_configs:
Bartosz Kupidura953510a2017-05-12 12:49:44 +020048 localhost:
49 url: http://127.0.0.1
Bartosz Kupidura2f703962017-03-09 12:12:27 +010050 send_resolved: true