module Resque::Plugins::MmtrixInstrumentation
Public Instance Methods
around_perform_with_monitoring(*args) { |*args| ... }
click to toggle source
# File lib/mmtrix/agent/instrumentation/resque.rb, line 31 def around_perform_with_monitoring(*args) begin perform_action_with_mmtrix_trace( :name => 'perform', :class_name => self.name, :category => 'OtherTransaction/ResqueJob') do Mmtrix::Agent::Transaction.merge_untrusted_agent_attributes(args, :'job.resque.args', Mmtrix::Agent::AttributeFilter::DST_NONE) yield(*args) end ensure Mmtrix::Agent.agent.flush_pipe_data end end