diff --git a/web/status.go b/web/status.go index dafb581b7..c87bf6199 100644 --- a/web/status.go +++ b/web/status.go @@ -24,7 +24,6 @@ import ( type PrometheusStatus struct { Config string Rules string - Status string TargetPools map[string]*retrieval.TargetPool BuildInfo map[string]string Flags map[string]string @@ -46,7 +45,6 @@ func (h *StatusHandler) Run() { h.PrometheusStatus = &PrometheusStatus{ Config: h.appState.Config.String(), Rules: "TODO: list rules here", - Status: "TODO: add status information here", TargetPools: h.appState.TargetManager.Pools(), BuildInfo: h.appState.BuildInfo, Flags: flags, diff --git a/web/templates/status.html b/web/templates/status.html index c2024a33e..337a7f0ba 100644 --- a/web/templates/status.html +++ b/web/templates/status.html @@ -1,9 +1,18 @@ {{define "head"}}{{end}} {{define "content"}} -

Status

+

Build Info

-{{.Status}} + + + {{range $key, $value := .BuildInfo}} + + + + + {{end}} + +
{{$key}}{{$value}}

Configuration

@@ -59,20 +68,6 @@ -

Build Info

-
- - - {{range $key, $value := .BuildInfo}} - - - - - {{end}} - -
{{$key}}{{$value}}
-
-

Startup Flags