MiniProfiler / rack-mini-profiler

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

Question: Support for tracing forked processes #590

Open chriscz opened 11 months ago

chriscz commented 11 months 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 10 months ago

Forking after boot is not supported currently.

chriscz commented 5 months ago

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