Files
grafana/pkg/services/ngalert/api/tooling/definitions/alertmanager_test_artifact.yaml
Jean-Philippe Quéméner b9cdad3814 Alerting: support mute timings configuration through the api for the embedded alertmanager (#41533)
* Alerting: accept mute_timing_intervals through the api for the embedded alertmanager

* add workaround for mutetimeinterval

* add mute timings to routes

* revert changes

* Update pkg/services/ngalert/api/api_alertmanager.go

* Update pkg/services/ngalert/api/api_alertmanager.go

* Update pkg/services/ngalert/api/api_alertmanager.go

* update prometheus/alertmanager dependency

* add some var docs
2021-11-19 16:50:55 +01:00

30 lines
658 B
YAML

template_files:
foo: bar
alertmanager_config: |
mute_time_intervals:
- name: foo
time_intervals:
- years:
- 2020:2022
- "2030"
receivers:
- email_configs:
- auth_password: shh
auth_username: admin
from: bar
headers:
Bazz: buzz
html: there
text: hi
to: foo
name: am
route:
continue: false
group_by:
- alertname
receiver: am
routes:
- continue: false
receiver: am
templates: []