Sha256: efaf1847ac262a46fc93ecaf82a8eb0426520c5464ba9454690e7b264a7c4dbd

Contents?: true

Size: 442 Bytes

Versions: 49

Compression:

Stored size: 442 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, 'stopping Passenger worker process')
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
appsignal-0.11.18 lib/appsignal/integrations/passenger.rb
appsignal-0.11.17 lib/appsignal/integrations/passenger.rb
appsignal-0.11.16 lib/appsignal/integrations/passenger.rb
appsignal-0.11.15 lib/appsignal/integrations/passenger.rb
appsignal-0.11.14 lib/appsignal/integrations/passenger.rb
appsignal-0.11.14.beta.1 lib/appsignal/integrations/passenger.rb
appsignal-0.11.13 lib/appsignal/integrations/passenger.rb
appsignal-0.11.13.beta.4 lib/appsignal/integrations/passenger.rb
appsignal-0.11.13.beta.3 lib/appsignal/integrations/passenger.rb
appsignal-0.11.13.beta.2 lib/appsignal/integrations/passenger.rb
appsignal-0.11.13.beta.1 lib/appsignal/integrations/passenger.rb
appsignal-0.11.13.beta.0 lib/appsignal/integrations/passenger.rb
appsignal-0.11.12 lib/appsignal/integrations/passenger.rb
appsignal-0.11.11 lib/appsignal/integrations/passenger.rb
appsignal-0.11.10 lib/appsignal/integrations/passenger.rb
appsignal-0.11.10.beta.2 lib/appsignal/integrations/passenger.rb
appsignal-0.11.10.beta.1 lib/appsignal/integrations/passenger.rb
appsignal-0.11.9 lib/appsignal/integrations/passenger.rb
appsignal-0.11.8.beta.4 lib/appsignal/integrations/passenger.rb
appsignal-0.11.8.beta.3 lib/appsignal/integrations/passenger.rb