Sha256: 434ef1f866af45f2355e1eebbd0c2571563bf20e07359860d5bc072364e82e4d
Contents?: true
Size: 692 Bytes
Versions: 15
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module Instrumentation module Bunny module Patches # The Consumer module contains the instrumentation patch for the Consumer class module Consumer def call(delivery_info, properties, payload) OpenTelemetry::Instrumentation::Bunny::PatchHelpers.with_process_span(queue.channel, tracer, delivery_info, properties) do super end end private def tracer Bunny::Instrumentation.instance.tracer end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems