statsviz

package
v2.331.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 3 Imported by: 0

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

func Register(name env.Name, mux *http.ServeMux) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL