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 |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 20 | inhibit_rule: |
| 21 | InhibitCriticalWhenDown: |
| 22 | enabled: true |
| 23 | source_match: |
Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 24 | severity: 'down' |
| 25 | target_match: |
| 26 | severity: 'critical' |
| 27 | equal: ['region', 'service'] |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 28 | InhibitWarningWhenDown: |
| 29 | enabled: true |
| 30 | source_match: |
Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 31 | severity: 'down' |
| 32 | target_match: |
| 33 | severity: 'warning' |
| 34 | equal: ['region', 'service'] |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 35 | InhibitWarningWhenCritical: |
| 36 | enabled: true |
| 37 | source_match: |
Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 38 | severity: 'critical' |
| 39 | target_match: |
| 40 | severity: 'warning' |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 41 | equal: ['region', 'service'] |
| 42 | receiver: |
| 43 | HTTP-notification: |
Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 44 | webhook_configs: |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 45 | webhook_example: |
| 46 | url: http://127.0.0.1 |
Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 47 | send_resolved: true |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 48 | HTTP-slack: |
Konstantin Hontar | 7b14dea | 2017-09-13 14:43:46 +0300 | [diff] [blame] | 49 | slack_configs: |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 50 | slack_example: |
| 51 | api_url: http://127.0.0.1/slack |
Konstantin Hontar | 7b14dea | 2017-09-13 14:43:46 +0300 | [diff] [blame] | 52 | send_resolved: true |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 53 | smtp: |
Konstantin Hontar | 7b14dea | 2017-09-13 14:43:46 +0300 | [diff] [blame] | 54 | email_configs: |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 55 | email_example: |
| 56 | to: test@example.com |
Konstantin Hontar | 7b14dea | 2017-09-13 14:43:46 +0300 | [diff] [blame] | 57 | from: test@example.com |
| 58 | smarthost: example.com |
| 59 | auth_username: username |
| 60 | auth_password: password |
| 61 | send_resolved: true |
Ondrej Smola | 94baab3 | 2017-11-20 20:13:20 +0100 | [diff] [blame] | 62 | 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 Polreich | e9dc060 | 2017-05-19 14:02:17 +0200 | [diff] [blame] | 71 | docker: |
| 72 | host: |
| 73 | enabled: true |
| 74 | experimental: true |
| 75 | insecure_registries: |
| 76 | - 127.0.0.1 |
| 77 | log: |
| 78 | engine: json-file |
Bartosz Kupidura | abec256 | 2017-05-17 16:00:52 +0200 | [diff] [blame] | 79 | size: 50m |