Statsviz is a Go library that visualizes runtime metrics in real time through an interactive web interface.
The tool solves the problem of monitoring Go program performance by exposing runtime metrics—heap usage, garbage collection pauses, goroutine counts, scheduler activity, and object allocations—as live plots accessible through a browser. It works by registering HTTP handlers with your application's HTTP server, then collecting and streaming runtime metrics data to a web UI that displays them as real-time charts.
Statsviz suits any Go application where developers need visibility into runtime behavior during development or debugging. It integrates with standard Go HTTP servers and popular frameworks including Echo, Fiber, Gin, and FastHTTP. The tool can be registered at custom paths, served over HTTPS, and placed behind middleware, making it flexible for different deployment scenarios. The README does not compare it to alternative monitoring solutions.
The project maintains active test coverage across Linux and other platforms. Examples are provided for multiple HTTP frameworks and configuration patterns, indicating ongoing attention to real-world usage scenarios. The tool supports custom user-defined plots alongside its built-in metrics visualizations.