grafana / pyroscope-java

pyroscope java integration
Apache License 2.0
72 stars 31 forks source link

Decouple Profiler and Config #62

Open korniltsev opened 1 year ago

korniltsev commented 1 year ago

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