blob: 74246896ad922d77d8ab2cf0d60f311e44bf625e [file] [log] [blame]
Bartosz Kupidura2f703962017-03-09 12:12:27 +01001prometheus:
2 alertmanager:
3 enabled: true
Martin Polreiche9dc0602017-05-19 14:02:17 +02004 dir:
Bartosz Kupiduraabec2562017-05-17 16:00:52 +02005 config: /srv/volumes/prometheus/alertmanager
6 data: /srv/volumes/local/prometheus/alertmanager
Bartosz Kupidura2f703962017-03-09 12:12:27 +01007 bind:
8 address: 0.0.0.0
9 port: 9093
Martin Polreiche9dc0602017-05-19 14:02:17 +020010 external_port: 15011
Bartosz Kupidura2f703962017-03-09 12:12:27 +010011 config:
12 global:
13 resolve_timeout: 5m
14 route:
15 group_by: ['alertname', 'region', 'service']
16 group_wait: 60s
17 group_interval: 5m
18 repeat_interval: 3h
19 receiver: HTTP-notification
Ondrej Smola94baab32017-11-20 20:13:20 +010020 inhibit_rule:
21 InhibitCriticalWhenDown:
22 enabled: true
23 source_match:
Bartosz Kupidura2f703962017-03-09 12:12:27 +010024 severity: 'down'
25 target_match:
26 severity: 'critical'
27 equal: ['region', 'service']
Ondrej Smola94baab32017-11-20 20:13:20 +010028 InhibitWarningWhenDown:
29 enabled: true
30 source_match:
Bartosz Kupidura2f703962017-03-09 12:12:27 +010031 severity: 'down'
32 target_match:
33 severity: 'warning'
34 equal: ['region', 'service']
Ondrej Smola94baab32017-11-20 20:13:20 +010035 InhibitWarningWhenCritical:
36 enabled: true
37 source_match:
Bartosz Kupidura2f703962017-03-09 12:12:27 +010038 severity: 'critical'
39 target_match:
40 severity: 'warning'
Ondrej Smola94baab32017-11-20 20:13:20 +010041 equal: ['region', 'service']
42 receiver:
43 HTTP-notification:
Bartosz Kupidura2f703962017-03-09 12:12:27 +010044 webhook_configs:
Ondrej Smola94baab32017-11-20 20:13:20 +010045 webhook_example:
46 url: http://127.0.0.1
Bartosz Kupidura2f703962017-03-09 12:12:27 +010047 send_resolved: true
Ondrej Smola94baab32017-11-20 20:13:20 +010048 HTTP-slack:
Konstantin Hontar7b14dea2017-09-13 14:43:46 +030049 slack_configs:
Ondrej Smola94baab32017-11-20 20:13:20 +010050 slack_example:
51 api_url: http://127.0.0.1/slack
Konstantin Hontar7b14dea2017-09-13 14:43:46 +030052 send_resolved: true
Ondrej Smola94baab32017-11-20 20:13:20 +010053 smtp:
Konstantin Hontar7b14dea2017-09-13 14:43:46 +030054 email_configs:
Ondrej Smola94baab32017-11-20 20:13:20 +010055 email_example:
56 to: test@example.com
Konstantin Hontar7b14dea2017-09-13 14:43:46 +030057 from: test@example.com
58 smarthost: example.com
59 auth_username: username
60 auth_password: password
61 send_resolved: true
Ondrej Smola94baab32017-11-20 20:13:20 +010062 Multi-receiver:
63 webhook_configs:
64 webhook:
65 url: http://127.0.0.1
66 send_resolved: true
67 slack_configs:
68 slack:
69 api_url: http://127.0.0.1/slack
70 send_resolved: true
Martin Polreiche9dc0602017-05-19 14:02:17 +020071docker:
72 host:
73 enabled: true
74 experimental: true
75 insecure_registries:
76 - 127.0.0.1
77 log:
78 engine: json-file
Bartosz Kupiduraabec2562017-05-17 16:00:52 +020079 size: 50m