lib/new_relic/agent/instrumentation/bunny.rb in newrelic_rpm-9.14.0 vs lib/new_relic/agent/instrumentation/bunny.rb in newrelic_rpm-9.15.0
- old
+ new
@@ -12,20 +12,19 @@
depends_on do
defined?(Bunny)
end
executes do
- NewRelic::Agent.logger.info('Installing Bunny instrumentation')
require 'new_relic/agent/distributed_tracing/cross_app_tracing'
require 'new_relic/agent/messaging'
require 'new_relic/agent/transaction/message_broker_segment'
end
executes do
if use_prepend?
- prepend_instrument Bunny::Exchange, NewRelic::Agent::Instrumentation::Bunny::Prepend::Exchange
- prepend_instrument Bunny::Queue, NewRelic::Agent::Instrumentation::Bunny::Prepend::Queue
- prepend_instrument Bunny::Consumer, NewRelic::Agent::Instrumentation::Bunny::Prepend::Consumer
+ prepend_instrument Bunny::Exchange, NewRelic::Agent::Instrumentation::Bunny::Prepend::Exchange, 'Bunny::Exchange'
+ prepend_instrument Bunny::Queue, NewRelic::Agent::Instrumentation::Bunny::Prepend::Queue, 'Bunny::Queue'
+ prepend_instrument Bunny::Consumer, NewRelic::Agent::Instrumentation::Bunny::Prepend::Consumer, 'Bunny::Consumer'
else
chain_instrument NewRelic::Agent::Instrumentation::Bunny::Chain
end
end
end