2016-08-31 10:02:16 +00:00
|
|
|
global:
|
2016-09-09 12:48:35 +00:00
|
|
|
resolve_timeout: 5m
|
2017-06-01 08:43:44 +00:00
|
|
|
|
2016-08-31 10:02:16 +00:00
|
|
|
route:
|
|
|
|
group_by: ['alertname']
|
|
|
|
group_wait: 10s
|
2017-06-01 08:43:44 +00:00
|
|
|
group_interval: 10s
|
2016-08-31 10:02:16 +00:00
|
|
|
repeat_interval: 1h
|
2017-06-26 16:20:26 +00:00
|
|
|
receiver: 'web.hook'
|
2016-08-31 10:02:16 +00:00
|
|
|
receivers:
|
2017-06-26 16:20:26 +00:00
|
|
|
- name: 'web.hook'
|
2016-08-31 10:02:16 +00:00
|
|
|
webhook_configs:
|
|
|
|
- url: 'http://127.0.0.1:5001/'
|
2017-06-01 08:43:44 +00:00
|
|
|
inhibit_rules:
|
|
|
|
- source_match:
|
|
|
|
severity: 'critical'
|
|
|
|
target_match:
|
|
|
|
severity: 'warning'
|
|
|
|
equal: ['alertname', 'dev', 'instance']
|