ianks / yabeda-gc

MIT License
9 stars 3 forks source link

Support capturing metrics in forked processes #1

Open liaden opened 3 years ago

liaden commented 3 years ago

I opened an issue at https://github.com/yabeda-rb/yabeda-puma-plugin/issues/18 (with some code in it) for the puma perspective, but it may be more appropriate here since there are other forking configurations in ruby such as sidekiq swarm and unicorn.

I can open an PR for Puma if it is a good fit here.

Envek commented 7 months ago

Probably it should be done in Yabeda itself, but honestly I have no idea how to properly do that synchronized calling of collect blocks between processes. Actually, many use cases of this, here is the issue to collect them: https://github.com/yabeda-rb/yabeda/issues/32