prometheus/web
Julius Volz c5c7f92960 Fix /debug/pprof endpoint with new web router.
This got broken in
78047326b4
since it stopped using the DefaultServeMux.

This approach will defer pprof requests to the DefaultServeMux, which
may or may not have pprof enabled (in Prometheus, it gets it included in
main.go). An alternative approach would be to duplicate the four lines in
https://golang.org/src/net/http/pprof/pprof.go#L62. When choosing that
approach though, we would not automatically gain any new endpoints added
by net/http/pprof or other /debug endpoints in the future.
2015-07-22 12:28:46 +02:00
..
api Restore legacy API scalar format 2015-07-16 20:19:18 +02:00
blob web/js: fix display error for vectors in console 2015-07-10 00:43:43 +02:00
.gitignore
Makefile
federate.go
web.go Fix /debug/pprof endpoint with new web router. 2015-07-22 12:28:46 +02:00
web_test.go