* 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>
30 lines
658 B
YAML
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: []
|