-httpprof host:port gets me a tcp listen, but always a 404

What page do I request to get the profiling information?

I'm using filebeat, but as I understand it, the -httpprof switch is available to all the beats.

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.

1 Like

Andrew,

Thanks for the outstanding reply. That was just what I needed.

Thanks very much!

-KwM-