metrics: drop alertmanager channel override
Webhook is already bound to ~alerts; Mattermost's channel override wants the name, not ~alerts.
This commit is contained in:
@@ -111,7 +111,6 @@ in
|
|||||||
slack_configs = [
|
slack_configs = [
|
||||||
{
|
{
|
||||||
api_url_file = "/run/credentials/alertmanager.service/mattermost-webhook";
|
api_url_file = "/run/credentials/alertmanager.service/mattermost-webhook";
|
||||||
channel = "~alerts";
|
|
||||||
send_resolved = true;
|
send_resolved = true;
|
||||||
title = "{{ .Status | toUpper }} {{ .CommonLabels.alertname }}";
|
title = "{{ .Status | toUpper }} {{ .CommonLabels.alertname }}";
|
||||||
text = "{{ range .Alerts }}{{ .Annotations.summary }}{{ end }}";
|
text = "{{ range .Alerts }}{{ .Annotations.summary }}{{ end }}";
|
||||||
|
|||||||
Reference in New Issue
Block a user