blob: d22c28f43bfcc0928f5dc3b0c8e65cf40a3bdfcd [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
20 inhibit_rules:
21 - source_match:
22 severity: 'down'
23 target_match:
24 severity: 'critical'
25 equal: ['region', 'service']
26 - source_match:
27 severity: 'down'
28 target_match:
29 severity: 'warning'
30 equal: ['region', 'service']
31 - source_match:
32 severity: 'critical'
33 target_match:
34 severity: 'warning'
35 equal: ['alertname', 'region', 'service']
36 receivers:
37 - name: 'HTTP-notification'
38 webhook_configs:
39 - url: http://127.0.0.1
40 send_resolved: true
Martin Polreiche9dc0602017-05-19 14:02:17 +020041docker:
42 host:
43 enabled: true
44 experimental: true
45 insecure_registries:
46 - 127.0.0.1
47 log:
48 engine: json-file
Bartosz Kupiduraabec2562017-05-17 16:00:52 +020049 size: 50m