Is there an option to stop the profiler?
dudicp opened this issue · 3 comments
dudicp commented
I would like to start and the stop the profiler for a configured duration of time and stop it once the time reached, is there an API to stop the profiler?
akosyakov commented
Hey, also was looking for the same capability. I would like to control if via a feature flag.
akosyakov commented
It also looks like will be useful while shutting down a server:
cloud-profiler-nodejs/src/profiler.ts
Lines 433 to 436 in 00316e8
aabmass commented
Unfortunately not right now. I'll leave this open as a feature request but we aren't willing to accept a contribution for this right now