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

Alerts

{{$alertStateToRowClass := .AlertStateToRowClass}} {{range .AlertingRules}} {{$activeAlerts := .ActiveAlerts}} {{else}} {{end}}
{{.Name}} ({{len $activeAlerts}} active)
{{.HTMLSnippet pathPrefix}}
{{if $activeAlerts}} {{range $activeAlerts}} {{end}}
Labels State Active Since Value
{{range $label, $value := .Labels}} {{$label}}="{{$value}}" {{end}} {{.State}} {{.ActiveAt.UTC}} {{.Value}}
{{end}}
No alerting rules defined
{{end}}