Implement Async profiler with elastic APM

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

Thanks
Senthil

The

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

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.