Merge pull request #915 from prometheus/fix-pprof

Fix /debug/pprof endpoint with new web router.
This commit is contained in:
Björn Rabenstein 2015-07-22 14:39:43 +02:00
commit 276dbf8a5d

View File

@ -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
}