pyroscope-java
pyroscope-java copied to clipboard
Consider starting profiler once
Currently we do start
stop
dump
every 15 seconds.
It make sense to do start
once and then never stop
and only do dump
every 15 seconds
We may need to use output file patterns
-f FILENAME - the file name to dump the profile information to.
%p in the file name is expanded to the PID of the target JVM;
%t - to the timestamp;
%n{MAX} - to the sequence number;
%{ENV} - to the value of the given environment variable.
https://github.com/grafana/pyroscope/issues/3054#issuecomment-2216631256