Sha256: 499204b60f90fd1ff4eea02794d80ee19fa7f37b8b4efb5a9a24474702635cf9
Contents?: true
Size: 607 Bytes
Versions: 34
Compression:
Stored size: 607 Bytes
Contents
# 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
34 entries across 34 versions & 1 rubygems