2018-01-29 15:05:17 +00:00
|
|
|
global:
|
|
|
|
opsgenie_api_key: asd132
|
|
|
|
|
|
|
|
route:
|
|
|
|
group_by: ['alertname', 'cluster', 'service']
|
|
|
|
group_wait: 30s
|
|
|
|
group_interval: 5m
|
|
|
|
repeat_interval: 3h
|
2019-05-13 12:51:26 +00:00
|
|
|
receiver: escalation-Y-opsgenie
|
2018-01-29 15:05:17 +00:00
|
|
|
routes:
|
|
|
|
- match:
|
|
|
|
service: foo
|
|
|
|
receiver: team-X-opsgenie
|
|
|
|
|
|
|
|
receivers:
|
|
|
|
- name: 'team-X-opsgenie'
|
|
|
|
opsgenie_configs:
|
2019-05-13 12:51:26 +00:00
|
|
|
- responders:
|
|
|
|
- name: 'team-X'
|
|
|
|
type: 'team'
|
|
|
|
- name: 'escalation-Y-opsgenie'
|
2018-01-29 15:05:17 +00:00
|
|
|
opsgenie_configs:
|
2019-05-13 12:51:26 +00:00
|
|
|
- responders:
|
|
|
|
- name: 'escalation-Y'
|
|
|
|
type: 'escalation'
|
2018-01-29 15:05:17 +00:00
|
|
|
api_key: qwe456
|