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 Ignore web/static/generated and build/root/share 2013-04-25 12:33:27 +02:00
federate.go web: add basic federation support. 2015-06-23 13:45:15 +02:00
Makefile Web: Format files.go when it is built. 2015-06-13 15:27:08 +01:00
web.go Fix /debug/pprof endpoint with new web router. 2015-07-22 12:28:46 +02:00
web_test.go Add tests for "globalURL" template function. 2015-07-03 14:47:52 +02:00