Documentation
¶
Overview ¶
Package pprof provides Fx wiring to expose net/http/pprof profiling endpoints.
This package integrates pprof handlers into the debug HTTP server setup so you can capture CPU, heap, goroutine, mutex, and block profiles for diagnostics.
Start with `Module`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
Register installs net/http/pprof handlers on mux.
Handlers are registered under the "/debug/pprof" prefix (namespaced by service name via http.Pattern), providing standard pprof endpoints such as:
- index and profile listing
- cmdline
- CPU profile
- symbol lookup
- trace
This registration is intended to be composed into the go-service debug server wiring.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.