File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ alertmanager_irc_relay_irc_nickname_password: ""
14
14
alertmanager_irc_relay_irc_realname : " "
15
15
16
16
alertmanager_irc_relay_notice_once_per_alert_group : " yes"
17
- alertmanager_irc_relay_notice_template : " Alert {{ .Labels.alertname }} on {{ .Labels.instance }} is {{ .Status }}"
17
+ alertmanager_irc_relay_notice_template : " {% raw %} Alert {{ .Labels.alertname }} on {{ .Labels.instance }} is {{ .Status }}{% endraw % }"
Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ notice_once_per_alert_group: {{ alertmanager_irc_relay_notice_once_per_alert_gro
34
34
# Define how IRC messages should be formatted.
35
35
#
36
36
# The formatting is based on golang's text/template.
37
- notice_template: {{ alertmanager_irc_relay_notice_template }}
37
+ notice_template: {{ alertmanager_irc_relay_notice_template }}
38
38
# Note: When sending only one notice per alert group the default
39
39
# notice_template is set to
40
- # "Alert {{ .GroupLabels.alertname }} for {{ .GroupLabels.job }} is {{ .Status }}"
41
-
40
+ # "Alert {% raw %} {{ .GroupLabels.alertname }} for {{ .GroupLabels.job }} is {{ .Status }}{% endraw %} "
You can’t perform that action at this time.
0 commit comments