mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
Merge pull request #915 from prometheus/fix-pprof
Fix /debug/pprof endpoint with new web router.
This commit is contained in:
commit
276dbf8a5d
@ -171,6 +171,8 @@ func New(st local.Storage, qe *promql.Engine, rm *rules.Manager, status *Prometh
|
||||
router.Post("/-/quit", h.quit)
|
||||
}
|
||||
|
||||
router.Get("/debug/*subpath", http.DefaultServeMux.ServeHTTP)
|
||||
|
||||
return h
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user