2017-03-09 06:12:27 -05:00
|
|
|
applications:
|
2017-05-29 09:05:06 -04:00
|
|
|
- prometheus
|
2017-03-09 06:12:27 -05:00
|
|
|
parameters:
|
|
|
|
prometheus:
|
|
|
|
alertmanager:
|
|
|
|
enabled: true
|
2017-05-17 10:00:52 -04:00
|
|
|
dir:
|
|
|
|
config: /srv/volumes/prometheus/alertmanager
|
|
|
|
data: /srv/volumes/local/prometheus/alertmanager
|
2017-03-09 06:12:27 -05:00
|
|
|
bind:
|
|
|
|
address: 0.0.0.0
|
|
|
|
port: 9093
|
|
|
|
config:
|
|
|
|
global:
|
|
|
|
resolve_timeout: 5m
|
|
|
|
route:
|
2018-08-16 10:51:41 -04:00
|
|
|
group_by: ['alertname', 'instance']
|
2017-03-09 06:12:27 -05:00
|
|
|
group_wait: 60s
|
|
|
|
group_interval: 5m
|
|
|
|
repeat_interval: 3h
|
2017-06-25 08:02:42 -04:00
|
|
|
receiver: default
|
2017-05-12 06:49:44 -04:00
|
|
|
inhibit_rule:
|
|
|
|
InhibitCriticalWhenDown:
|
2018-04-24 10:05:26 -04:00
|
|
|
enabled: false
|
2017-05-12 06:49:44 -04:00
|
|
|
source_match:
|
2017-03-09 06:12:27 -05:00
|
|
|
severity: 'down'
|
|
|
|
target_match:
|
|
|
|
severity: 'critical'
|
|
|
|
equal: ['region', 'service']
|
2017-05-12 06:49:44 -04:00
|
|
|
InhibitWarningWhenDown:
|
2018-04-24 10:05:26 -04:00
|
|
|
enabled: false
|
2017-05-12 06:49:44 -04:00
|
|
|
source_match:
|
2017-03-09 06:12:27 -05:00
|
|
|
severity: 'down'
|
|
|
|
target_match:
|
|
|
|
severity: 'warning'
|
|
|
|
equal: ['region', 'service']
|
2017-05-12 06:49:44 -04:00
|
|
|
InhibitWarningWhenCritical:
|
2018-04-24 10:05:26 -04:00
|
|
|
enabled: false
|
2017-05-12 06:49:44 -04:00
|
|
|
source_match:
|
2017-03-09 06:12:27 -05:00
|
|
|
severity: 'critical'
|
|
|
|
target_match:
|
|
|
|
severity: 'warning'
|
2017-06-07 05:07:20 -04:00
|
|
|
equal: ['region', 'service']
|
2017-05-12 06:49:44 -04:00
|
|
|
receiver:
|
2017-06-25 08:02:42 -04:00
|
|
|
default:
|
2017-05-12 06:49:44 -04:00
|
|
|
enabled: true
|