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