Hello,
Starting from v1.14.0 Java APM Agent creates in the temporary folder the following files:
/tmp/apm-activation-events-*.bin
/tmp/apm-traces-*.jfr
They are created regardless of the whether profiling is enabled/disabled.
Is there any setting I missed that may switch it off.
I have found the PR (https://github.com/elastic/apm-agent-java/pull/1350), which is not officially released, but it is only about configuring the directory where to store such files.
Yes, currently those files are created even if the profiler is disabled profiling_inferred_spans_enabled=false.
Making those files created lazily and only if needed seems a good improvement, I've opened a pull-request for that: https://github.com/elastic/apm-agent-java/pull/1360. You can subscribe to it to get notifications when it's merged.
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.