Documentation
¶
Overview ¶
Package statsviz provides Fx wiring to expose statsviz diagnostics over HTTP.
This package integrates statsviz into the debug HTTP server setup so you can inspect runtime behavior (for example goroutines, heap, and other runtime stats) from a browser.
Start with `Module`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
Register installs statsviz handlers on mux.
The handler tree is mounted at "/debug/statsviz" (namespaced by service name via http.Pattern), which serves statsviz's runtime visualization UI and endpoints.
This registration is intended to be composed into the go-service debug server wiring. Any error returned by the underlying statsviz.Register call is returned to the caller.
Types ¶
This section is empty.