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

Alerts


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