Open
Description
Pyroscope only reporting profiles from master puma process (pid 1), workers and threads are not profiled.
config.detect_subprocesses = true not working.
#config/initializers/pyroscope.rb
Pyroscope.configure do |config|
config.application_name = ''
config.server_address = ''
config.sample_rate = 100
config.detect_subprocesses = true
config.autoinstrument_rails = true
config.report_pid = true
config.oncpu = true
end
What did you expect to happen instead?
All Puma workers and threads should be sending profiles
How did you install pyroscope-rs
?
ruby '3.3.5'
gem 'rails', '6.0.6.1'
gem 'puma', '~> 6.6.0'
gem 'pyroscope', '~> 0.5.14'