Module: SignalFx::Tracing::Compat::PhusionPassenger
- Defined in:
- lib/signalfx/tracing/compat/phusion_passenger.rb
Class Method Summary collapse
Class Method Details
.apply ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/signalfx/tracing/compat/phusion_passenger.rb', line 5 def self.apply # register a hook for newly spawned processes if defined? ::PhusionPassenger ::PhusionPassenger.on_event(:starting_worker_process) do |forked| if forked SignalFx::Tracing::Instrumenter.revive end end end end |