{{define "status"}} {{.Title}}

{{.Title}}

Probes:

{{range $name, $probeInfo := .Probes}} {{end}}
Name Probe Class & Labels Interval Last Attempt Success Latency Last Error
{{$name}} {{range $text, $url := $probeInfo.Links}}
{{end}}
{{$probeInfo.Class}}
{{range $label, $value := $probeInfo.Labels}} {{$label}}={{$value}}
{{end}}
{{$probeInfo.Interval}} {{if $probeInfo.TimeSinceLast}} {{$probeInfo.TimeSinceLast.String}} ago
{{$probeInfo.End.Format "2006-01-02T15:04:05Z07:00"}} {{else}} Never {{end}}
{{if $probeInfo.Result}} {{$probeInfo.Result}} {{else}} {{$probeInfo.Result}} {{end}}
Recent: {{$probeInfo.RecentResults}}
Mean: {{$probeInfo.RecentSuccessRatio}}
{{$probeInfo.Latency.String}}
Recent: {{$probeInfo.RecentLatencies}}
Median: {{$probeInfo.RecentMedianLatency}}
{{$probeInfo.Error}}
{{end}}