Could you help with setting up async profiler to use with APM Java agent.
I have following properties added
profiling_inferred_spans_enabled=true
profiling_inferred_spans_sampling_interval=50ms
profiling_inferred_spans_min_duration=150ms
profiling_inferred_spans_logging_enabled=true
Do i need to download asyncprofiler latest version and add it container with following?
profiling_inferred_spans_lib_directory=/opt/async-profiler-2.9-linux-x64/build/libasyncProfiler.so
No, the profiler is already distributed with the agent (for common linux hosts/VMs). It should just be working and giving you inferred spans with those options
There is no need to define the profiling_inferred_spans_lib_directory and definitely not for a different version of the asyncprofiler, that will cause problems. It's intended to point to a writeable temp dir
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.