Sha256: 15be9a0a4fd6db04d4358df769702cc3cfb36a51e53df5ca7fd0bffdf953efca
Contents?: true
Size: 561 Bytes
Versions: 19
Compression:
Stored size: 561 Bytes
Contents
if defined?(::Resque) Appsignal.logger.info('Loading Resque integration') module Appsignal module Integrations module ResquePlugin def around_perform_resque_plugin(*args) Appsignal.monitor_single_transaction( 'perform_job.resque', :class => self.to_s, :method => 'perform' ) do yield end end end end end # Extend the default job class with AppSignal instrumentation Resque::Job.send(:extend, Appsignal::Integrations::ResquePlugin) end
Version data entries
19 entries across 19 versions & 1 rubygems