Sha256: e5ea5500992c6901da678bfd08db3eee79f6bda1e8c11959a33a1ccec98fb900
Contents?: true
Size: 577 Bytes
Versions: 6
Compression:
Stored size: 577 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
6 entries across 6 versions & 1 rubygems