Sha256: 7fd49b4270f390ca0cd0c4c91c2939bae022ef4433080fdcfa1b25bfe3163dae
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 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. # frozen_string_literal: true module NewRelic::Agent::Instrumentation module Rake module Chain def self.instrument! ::Rake::Task.class_eval do include NewRelic::Agent::Instrumentation::Rake::Tracer alias_method(:invoke_without_newrelic, :invoke) def invoke(*args) invoke_with_newrelic_tracing(*args) { invoke_without_newrelic(*args) } end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
newrelic_rpm-8.10.1 | lib/new_relic/agent/instrumentation/rake/chain.rb |
newrelic_rpm-8.10.0 | lib/new_relic/agent/instrumentation/rake/chain.rb |