Sha256: 981591ef070274bbf59624e4b157a451317f730eefaad372bc4474ce31dde9cf
Contents?: true
Size: 698 Bytes
Versions: 3
Compression:
Stored size: 698 Bytes
Contents
module Appsignal module Integrations # @api private module ResqueActiveJobPlugin include Appsignal::Hooks::Helpers def self.included(base) base.class_eval do around_perform do |job, block| Appsignal.monitor_single_transaction( "perform_job.resque", :class => job.class.to_s, :method => "perform", :params => job.format_args(job.arguments), :metadata => { :id => job.job_id, :queue => job.queue_name } ) do block.call end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems