alertmanager/config/testdata/conf.rocketchat-default-token.yml
Christoph Maser 8572fe849c
feat: add rocketchat notifier (#3600)
* feat: add rocketchat notifier

Signed-off-by: Christoph Maser <christoph.maser+github@gmail.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>

* Update notify/rocketchat/rocketchat.go

Co-authored-by: George Robinson <george.robinson@grafana.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>

---------

Signed-off-by: Christoph Maser <christoph.maser+github@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
2024-10-23 15:38:22 +01:00

23 lines
511 B
YAML

global:
rocketchat_token: token123
rocketchat_token_id: id123
route:
group_by: ['alertname', 'cluster', 'service']
group_wait: 30s
group_interval: 5m
repeat_interval: 3h
receiver: team-Y-rocketchat
routes:
- match:
service: foo
receiver: team-X-rocketchat
receivers:
- name: 'team-X-rocketchat'
rocketchat_configs:
- channel: '#team-X'
- name: 'team-Y-rocketchat'
rocketchat_configs:
- channel: '#team-Y'
token: token456
token_id: id456