The -httpprof
exposes the standard Golang http endpoint (/debug/pprof
) so you can use their documentation to find more information about how to profile Golang apps. These are the primary profiling docs:
Also as a side effect of running -httpprof
it also exposes some metrics at /debug/vars
. These are mostly provided by the Go expvar package but there are a few metrics from libbeat.