lib/new_relic/agent/instrumentation/bunny/chain.rb in newrelic_rpm-9.1.0 vs lib/new_relic/agent/instrumentation/bunny/chain.rb in newrelic_rpm-9.2.0

- old
+ new

@@ -1,10 +1,10 @@ # 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 Bunny + module Bunny::Chain def self.instrument! ::Bunny::Exchange.class_eval do include NewRelic::Agent::Instrumentation::Bunny::Exchange alias_method(:publish_without_new_relic, :publish)