Module: Appsignal::Integrations::ResquePlugin

Defined in:
lib/appsignal/integrations/resque.rb

Instance Method Summary collapse

Instance Method Details

#around_perform_resque_plugin(*args) ⇒ Object


4
5
6
7
8
9
10
11
12
# File 'lib/appsignal/integrations/resque.rb', line 4

def around_perform_resque_plugin(*args)
  Appsignal.monitor_single_transaction(
    'perform_job.resque',
    :class => self.to_s,
    :method => 'perform'
  ) do
    yield
  end
end