gmx is an experimental package for instrumenting Go applications. gmx
is similar to Java's jmx and provides a simple method of querying the
internal state of your Go application by invoking anonymous functions
bound to published keys. Values are exported via a simple json based
protocol over a local unix domain socket. You can read more about
using gmx here
http://dave.cheney.net/introducing-gmx-runtime-instrumentation-for-g
As usual you'll find the bits on github
https://github.com/davecheney/gmx
And of course, gmx is go installable
go get github.com/davecheney/gmx
Hopefully you'll find gmx useful. I welcome any comments and feedback.
Cheers
Dave