Documentation ¶
Overview ¶
Package pprof is separated out from metrics to isolate the 'init' functionality of pprof, so thatit is included when used by binaries, but not if other packages get used or integrated into clients that don't expect the pprof side effect to have taken effect.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithProfile ¶
WithProfile provides an http mux setup to serve pprof endpoints. it should be mounted at /debug/pprof.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.