Module: OpenTelemetry::Instrumentation::Bunny::Patches::Consumer

Defined in:
lib/opentelemetry/instrumentation/bunny/patches/consumer.rb

Overview

The Consumer module contains the instrumentation patch for the Consumer class

Instance Method Summary collapse

Instance Method Details

#call(delivery_info, properties, payload) ⇒ Object



13
14
15
16
17
# File 'lib/opentelemetry/instrumentation/bunny/patches/consumer.rb', line 13

def call(delivery_info, properties, payload)
  OpenTelemetry::Instrumentation::Bunny::PatchHelpers.with_process_span(queue.channel, tracer, delivery_info, properties) do
    super
  end
end