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.
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.
Andrew,
Thanks for the outstanding reply. That was just what I needed.
Thanks very much!
-KwM-
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.