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

Rules

{{range .RuleGroups}} {{range .Rules}} {{end}} {{else}} {{end}}

{{.Name}}

{{if .GetLastEvaluation.IsZero}}Never{{else}}{{since .GetLastEvaluation}} ago{{end}}

{{humanizeDuration .GetEvaluationTime.Seconds}}

Rule State Error Last Evaluation Evaluation Time
{{.HTMLSnippet (print pathPrefix (print pathPrefix "/classic"))}} {{.Health}} {{if .LastError}} {{.LastError}} {{end}} {{if .GetEvaluationTimestamp.IsZero}}Never{{else}}{{since .GetEvaluationTimestamp}} ago{{end}} {{humanizeDuration .GetEvaluationDuration.Seconds}}
No rules defined
{{end}}