{{define "head"}} {{end}} {{define "content"}}

Alerts

{{range .AlertingRules}} {{$activeAlerts := .ActiveAlerts}}
{{.Name}} ({{len $activeAlerts}} active)
Rule: {{.HTMLSnippet}}
{{if $activeAlerts}} {{range $activeAlerts}} {{end}}
Labels State Active Since Value
{{.Labels}} {{.State}} {{.ActiveSince}} {{.Value}}
{{end}}
{{end}}
{{end}}