grafana / pyroscope-rs

Pyroscope Profiler for Rust. Profile your Rust applications.
Apache License 2.0
132 stars 22 forks source link

Profiling app in clustered mode #112

Closed valodzka closed 1 year ago

valodzka commented 1 year ago

I'm trying to profile ruby app that runs using puma web server in culstered (multi process) mode. Looks like that it only collects samples from main process, but not from forked process.

I'm using basic settings as described here https://pyroscope.io/docs/ruby/ Am I doing something wrong? Do forked process need some additional configuration? Or is this not supported?

valodzka commented 1 year ago

answer is
config.detect_subprocesses = true