Sha256: 0e60c19108e906a69f5dd9128a6c6e8d3d2dc557d9f9b4f78aabaaf98b3263f5
Contents?: true
Size: 573 Bytes
Versions: 7
Compression:
Stored size: 573 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. module NewRelic::Agent::Instrumentation module Resque module Chain def self.instrument! ::Resque::Job.class_eval do include NewRelic::Agent::Instrumentation::Resque alias_method :perform_without_instrumentation, :perform def perform with_tracing { perform_without_instrumentation } end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems