Sha256: 97d6b61a9fc4872ed73eb2b94cf907e7290868495f3aa86e39ab14e374725577

Contents?: true

Size: 405 Bytes

Versions: 33

Compression:

Stored size: 405 Bytes

Contents

if defined?(::PhusionPassenger)
  Appsignal.logger.info('Loading Passenger integration')

  ::PhusionPassenger.on_event(:starting_worker_process) do |forked|
    Appsignal.logger.debug('starting worker process')
    Appsignal.agent.forked!
  end

  ::PhusionPassenger.on_event(:stopping_worker_process) do
    Appsignal.logger.debug('stopping worker process')
    Appsignal.agent.shutdown(true)
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
appsignal-0.9.1 lib/appsignal/integrations/passenger.rb
appsignal-0.9.0 lib/appsignal/integrations/passenger.rb
appsignal-0.8.15 lib/appsignal/integrations/passenger.rb
appsignal-0.9.0.beta.1 lib/appsignal/integrations/passenger.rb
appsignal-0.9.0.alpha.1 lib/appsignal/integrations/passenger.rb
appsignal-0.8.14 lib/appsignal/integrations/passenger.rb
appsignal-0.8.13 lib/appsignal/integrations/passenger.rb
appsignal-0.8.12 lib/appsignal/integrations/passenger.rb
appsignal-0.8.11 lib/appsignal/integrations/passenger.rb
appsignal-0.8.10 lib/appsignal/integrations/passenger.rb
appsignal-0.8.8 lib/appsignal/integrations/passenger.rb
appsignal-0.8.7 lib/appsignal/integrations/passenger.rb
appsignal-0.8.7.alpha.1 lib/appsignal/integrations/passenger.rb
appsignal-0.8.6 lib/appsignal/integrations/passenger.rb
appsignal-0.8.6.beta.1 lib/appsignal/integrations/passenger.rb
appsignal-0.8.6.beta.0 lib/appsignal/integrations/passenger.rb
appsignal-0.8.5 lib/appsignal/integrations/passenger.rb
appsignal-0.8.4 lib/appsignal/integrations/passenger.rb
appsignal-0.8.4.beta.1 lib/appsignal/integrations/passenger.rb
appsignal-0.8.4.beta.0 lib/appsignal/integrations/passenger.rb