mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-27 08:32:15 +00:00
ca8d73a59b
* Added possibility to have a global victorops api_key * adding tests for victorops default key
23 lines
433 B
YAML
23 lines
433 B
YAML
global:
|
|
victorops_api_key: asd132
|
|
|
|
route:
|
|
group_by: ['alertname', 'cluster', 'service']
|
|
group_wait: 30s
|
|
group_interval: 5m
|
|
repeat_interval: 3h
|
|
receiver: team-Y-victorops
|
|
routes:
|
|
- match:
|
|
service: foo
|
|
receiver: team-X-victorops
|
|
|
|
receivers:
|
|
- name: 'team-X-victorops'
|
|
victorops_configs:
|
|
- routing_key: 'team-X'
|
|
- name: 'team-Y-victorops'
|
|
victorops_configs:
|
|
- routing_key: 'team-Y'
|
|
api_key: qwe456
|