pyroscope-java
pyroscope-java copied to clipboard
Decouple Profiler and Config
Right now Profiler is tied to Config at construction time and only able to do one type of operation, determined at construction It would be useful to decouple Profiler and Config, and allow the Profiler to execute different operations Maybe adopt something similar to ProfileRequest/ProfileResponse from https://github.com/taboola/async-profiler-actuator-endpoint