module Resque::Plugins::TracebinInstrumentation::Job
Public Instance Methods
after_perform_with_tracebin(*args) { |*args| ... }
click to toggle source
# File lib/tracebin/background_job_instrumentation/resque.rb, line 15 def after_perform_with_tracebin(*args) @tracebin_timer.stop! ::Tracebin::PuppetMaster.new(@tracebin_timer, logger: Resque.logger).process yield *args if block_given? end
before_perform_with_tracebin(*args) { |*args| ... }
click to toggle source
# File lib/tracebin/background_job_instrumentation/resque.rb, line 8 def before_perform_with_tracebin(*args) @tracebin_timer = ::Tracebin::BackgroundTimer.new @tracebin_timer.start! yield *args if block_given? end