alertmanager/config/testdata/conf.rocketchat-default-token-file.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
582 B
YAML

global:
rocketchat_token_file: /global_file
rocketchat_token_id_file: /etc/alertmanager/rocketchat_token_id
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_file: /override_file
token_id_file: /override_file