mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
Embed mutex on web status handler
This commit is contained in:
parent
7740167654
commit
cdde766f39
|
@ -48,10 +48,10 @@ func (h *StatusHandler) ServeRequestsForever() {
|
|||
})
|
||||
|
||||
h.PrometheusStatus = &PrometheusStatus{
|
||||
BuildInfo: h.BuildInfo,
|
||||
Config: h.Config.String(),
|
||||
Flags: flags,
|
||||
Rules: "TODO: list rules here",
|
||||
BuildInfo: h.BuildInfo,
|
||||
Config: h.Config.String(),
|
||||
Flags: flags,
|
||||
Rules: "TODO: list rules here",
|
||||
// BUG: race condition, concurrent map access
|
||||
TargetPools: h.TargetManager.Pools(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue