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

Runtime Information

Uptime {{.Status.Birth.UTC}}

Build Information

{{range $key, $value := .Info}} {{end}}
{{$key}} {{$value}}

Configuration

{{.Status.Config}}

Rules

{{range call .Status.Rules}}{{.HTMLSnippet pathPrefix}}
{{end}}

Targets

{{range $job, $pool := call .Status.TargetPools}} {{range $pool}} {{end}} {{end}}
{{$job}}
Endpoint State Base Labels Last Scrape Error
{{.URL.Scheme}}://{{.URL.Host}}{{.URL.Path}}
{{range $label, $values := .URL.Query }} {{range $i, $value := $values}} {{$label}}="{{$value}}" {{end}} {{end}}
{{.Status.Health}} {{$baseLabels := stripLabels .BaseLabels "job" "instance"}} {{if $baseLabels}} {{range $label, $value := $baseLabels}} {{$label}}="{{$value}}" {{end}} {{else}} none {{end}} {{if .Status.LastScrape.IsZero}}Never{{else}}{{since .Status.LastScrape}} ago{{end}} {{if .Status.LastError}} {{.Status.LastError}} {{end}}

Startup Flags

{{range $key, $value := .Status.Flags}} {{end}}
{{$key}} {{$value}}
{{end}}