Remove receiver filtering from backlink
This commit is contained in:
parent
d73a655bf4
commit
b3d2ff3688
|
@ -1,5 +1,5 @@
|
||||||
{{ define "__alertmanager" }}AlertManager{{ end }}
|
{{ define "__alertmanager" }}AlertManager{{ end }}
|
||||||
{{ define "__alertmanagerURL" }}{{ .ExternalURL }}/#/alerts?receiver={{ .Receiver }}{{ end }}
|
{{ define "__alertmanagerURL" }}{{ .ExternalURL }}/#/alerts{{ end }}
|
||||||
|
|
||||||
{{ define "__subject" }}[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] {{ .GroupLabels.SortedPairs.Values | join " " }} {{ if gt (len .CommonLabels) (len .GroupLabels) }}({{ with .CommonLabels.Remove .GroupLabels.Names }}{{ .Values | join " " }}{{ end }}){{ end }}{{ end }}
|
{{ define "__subject" }}[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] {{ .GroupLabels.SortedPairs.Values | join " " }} {{ if gt (len .CommonLabels) (len .GroupLabels) }}({{ with .CommonLabels.Remove .GroupLabels.Names }}{{ .Values | join " " }}{{ end }}){{ end }}{{ end }}
|
||||||
{{ define "__description" }}{{ end }}
|
{{ define "__description" }}{{ end }}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue