Files
grafana/pkg/services/ngalert/api/tooling/definitions/alertmanager_test_artifact.yaml
T
Grot (@grafanabot)andJean-Philippe Quéméner 3d4a5ce8fa Alerting: support mute timings configuration through the api for the embedded alertmanager (#41533) (#41990)
* 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

(cherry picked from commit b9cdad3814)

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2021-11-19 17:17:08 +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: []