Module: Datadog::Tracing::Contrib::Bunny::Patcher
- Includes:
- Contrib::Patcher
- Defined in:
- lib/datadog/tracing/contrib/bunny/patcher.rb
Overview
Patcher for Bunny instrumentation
Defined Under Namespace
Modules: ChannelPatch, ConsumerPatch, ExchangePatch, QueuePatch
Class Method Summary collapse
Class Method Details
.patch ⇒ Object
20 21 22 23 24 25 |
# File 'lib/datadog/tracing/contrib/bunny/patcher.rb', line 20 def patch ::Bunny::Channel.prepend(ChannelPatch) ::Bunny::Exchange.prepend(ExchangePatch) ::Bunny::Queue.prepend(QueuePatch) ::Bunny::Consumer.prepend(ConsumerPatch) end |
.target_version ⇒ Object
16 17 18 |
# File 'lib/datadog/tracing/contrib/bunny/patcher.rb', line 16 def target_version Integration.version end |