{{define "head"}}{{end}}
{{define "content"}}
Runtime Information
Build Information
{{range $key, $value := .BuildInfo}}
{{$key}} |
{{$value}} |
{{end}}
Configuration
{{.Config}}
Rules
{{range .RuleManager.Rules}}{{.HTMLSnippet}}
{{end}}
Targets
{{$stateToClass := .TargetStateToClass}}
{{range $job, $pool := call .TargetPools}}
Endpoint |
State |
Base Labels |
Last Scrape |
Error |
{{range $pool}}
{{.URL}}
|
{{.Status.State}}
|
{{.BaseLabelsWithoutJobAndInstance}}
|
{{if .Status.LastScrape.IsZero}}Never{{else}}{{since .Status.LastScrape}} ago{{end}}
|
{{if .Status.LastError}}
{{.Status.LastError}}
{{end}}
|
{{end}}
{{end}}
Startup Flags
{{range $key, $value := .Flags}}
{{$key}} |
{{$value}} |
{{end}}
{{end}}