Kibana: 7.8.1
APM-server: 7.8.1
Elasticsearch: 7.8.1
Java agent: 1.19.0
By default async-profiler writes to /tmp
, but since our /tmp
is tiny and it gets filled very quickly, I wanted to change this directory to something else using config-profiling-inferred-spans-lib-directory in java agent, but we are still getting a lot of files in /tmp
:
- apm-activation-events-*.bin
- apm-traces-*.jfr
Questions:
- Is this expected behavior and
config-profiling-inferred-spans-lib-directory
comes into the play only when/tmp
is not executable? - Is there maybe some other way to change async-profiler's tmp directory?
- Is there some policy managing how frequently (or when) those temporary files are supposed to be cleand-up?