Statsviz can visualize the running metrics data of Go programs in real time in the browser: heaps, objects, goroutines, GC pauses, schedulers, etc. How it works: Statsviz serves 2 HTTP endpoints: The first ( /debug/statsviz ) serves a web page with the statsviz user interface, initially showing an empty graph. The second HTTP handler ( /debug/statsviz/ws ) listens to a WebSocket connection that will start as soon as the statsviz web page loads in your browser. Following this, your application will now have all runtime/metrics data points…

#Realtime #display #metrics #Statsviz #programs #browser

Leave a Comment

Your email address will not be published. Required fields are marked *