Module: Appsignal::Integrations::ResquePlugin Private
- Defined in:
- lib/appsignal/integrations/resque.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#around_perform_resque_plugin(*_args) ⇒ Object
private
Do not use this file as a template for your own background processor Resque is an exception to the rule and the code below causes the extension to shut itself down after a single job.
Instance Method Details
#around_perform_resque_plugin(*_args) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Do not use this file as a template for your own background processor Resque is an exception to the rule and the code below causes the extension to shut itself down after a single job. see http://docs.appsignal.com/background-monitoring/custom.html
11 12 13 14 15 16 17 18 19 |
# File 'lib/appsignal/integrations/resque.rb', line 11 def around_perform_resque_plugin(*_args) Appsignal.monitor_single_transaction( "perform_job.resque", :class => to_s, :method => "perform" ) do yield end end |