mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-19 13:41:01 +02: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.Post("/-/quit", h.quit)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
router.Get("/debug/*subpath", http.DefaultServeMux.ServeHTTP)
|
||||||
|
|
||||||
return h
|
return h
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user