Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 1 | prometheus: |
| 2 | alertmanager: |
| 3 | enabled: true |
Martin Polreich | e9dc060 | 2017-05-19 14:02:17 +0200 | [diff] [blame] | 4 | dir: |
Bartosz Kupidura | abec256 | 2017-05-17 16:00:52 +0200 | [diff] [blame^] | 5 | config: /srv/volumes/prometheus/alertmanager |
| 6 | data: /srv/volumes/local/prometheus/alertmanager |
Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 7 | bind: |
| 8 | address: 0.0.0.0 |
| 9 | port: 9093 |
Martin Polreich | e9dc060 | 2017-05-19 14:02:17 +0200 | [diff] [blame] | 10 | external_port: 15011 |
Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 11 | 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 Polreich | e9dc060 | 2017-05-19 14:02:17 +0200 | [diff] [blame] | 41 | docker: |
| 42 | host: |
| 43 | enabled: true |
| 44 | experimental: true |
| 45 | insecure_registries: |
| 46 | - 127.0.0.1 |
| 47 | log: |
| 48 | engine: json-file |
Bartosz Kupidura | abec256 | 2017-05-17 16:00:52 +0200 | [diff] [blame^] | 49 | size: 50m |