2021-07-19 05:31:51 -05:00
|
|
|
{{Subject .Subject "{{.Title}}"}}
|
|
|
|
|
|
|
|
{{.Title}}
|
|
|
|
----------------
|
|
|
|
|
|
|
|
{{ .Alerts | len }} alert{{ if gt (len .Alerts) 1 }}s{{ end }} for
|
|
|
|
{{ range .GroupLabels.SortedPairs }}
|
|
|
|
{{ .Name }} = {{ .Value }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if gt (len .Alerts.Firing) 0 }}({{ .Alerts.Firing | len }}) Firing{{ end }}
|
|
|
|
{{ range .Alerts.Firing }}
|
|
|
|
Labels:
|
|
|
|
{{ range .Labels.SortedPairs }}
|
|
|
|
{{ .Name }} = {{ .Value }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if gt (len .Annotations) 0 }}
|
|
|
|
Annotations:
|
|
|
|
{{ end }}
|
|
|
|
{{ range .Annotations.SortedPairs }}
|
|
|
|
{{ .Name }} = {{ .Value }}
|
|
|
|
{{ end }}
|
2022-11-17 14:41:46 -06:00
|
|
|
{{ end }}{{ if gt (len .Alerts.Resolved) 0 }}({{ .Alerts.Resolved | len }}) Resolved{{ end }}
|
2021-07-19 05:31:51 -05:00
|
|
|
{{ range .Alerts.Resolved }}
|
|
|
|
Labels:
|
|
|
|
{{ range .Labels.SortedPairs }}
|
|
|
|
{{ .Name }} = {{ .Value }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if gt (len .Annotations) 0 }}
|
|
|
|
Annotations:
|
|
|
|
{{ end }}
|
|
|
|
{{ range .Annotations.SortedPairs }}
|
|
|
|
{{ .Name }} = {{ .Value }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}View your Alert rule:
|
|
|
|
{{.RuleUrl}}
|
|
|
|
|
|
|
|
Go to the Alerts page:
|
|
|
|
{{.AlertPageUrl}}
|
|
|
|
|
2022-11-17 14:41:46 -06:00
|
|
|
|
|
|
|
Sent by Grafana v{{.BuildVersion}} (c) {{now | date "2006"}} Grafana Labs
|