{{define "head"}} {{end}} {{define "content"}}
Endpoint | State | Labels | Last Scrape | Scrape Duration | Error |
---|---|---|---|---|---|
{{.URL.Scheme}}://{{.URL.Host}}{{.URL.Path}} {{- range $label, $values := .URL.Query }} {{- range $i, $value := $values}} {{$label}}="{{$value}}" {{- end}} {{- end}} |
{{.Health}} | {{- range $label, $value := .Labels.Map}} {{$label}}="{{$value}}" {{- else -}} none {{- end}} | {{- if .LastScrape.IsZero}}Never{{else}}{{since .LastScrape}} ago{{end}} | {{- humanizeDuration .LastScrapeDuration.Seconds}} | {{- if .LastError}}{{.LastError}}{{end}} |