Updated Diagnostics (markdown)

Rhys Hiltner 2017-07-08 00:04:50 -07:00
parent dfe60d5f95
commit 86e00eac30

@ -72,7 +72,7 @@ No. Additionally to what is provided by the runtime, Go users can create their c
With 1.9, Go allows users to attach [context-scoped labels](https://github.com/golang/proposal/blob/master/design/17280-profile-labels.md) to pprof records. Once profiler labels are available, it will be possible to attach user IDs, request URLs, RPC names, etc. to profiling data which later may be examined by labels. See an [end-to-end tutorial](https://rakyll.org/profiler-labels/).
**Can I serve the profiler handlers (/debug/proof/…) on a different path and port?**
**Can I serve the profiler handlers (/debug/pprof/…) on a different path and port?**
Yes! `net/http/pprof` package registers its handlers to the default mux by default. But, you can also register them yourself by using the handlers exported from the package.