MiniProfiler / rack-mini-profiler

Profiler for your development and production Ruby rack apps.
MIT License
3.74k stars 406 forks source link

Question: Support for tracing forked processes #590

Open chriscz opened 1 year ago

chriscz commented 1 year ago

In one of our applications we use the parallel gem with process forking to do some IO and computationally-heavy work during request processing. In short we fork off several processes and then spawn threads under those processes to do the work as efficiently as possible.

I've noticed when I inspect the mini-profiler window that it definitely does not register the queries done in these sub-processes.

Is there currently any support this? Am I maybe missing a configuration option?

I searched for similar issues with in:body,title,comments for processes forking , but didn't come up with any results.

nate-at-gusto commented 12 months ago

Forking after boot is not supported currently.

chriscz commented 7 months ago

Thanks @nate-at-gusto. Feel free to close or keep open if someone comes along with the same question.