Sha256: 1238e54b0d66bff82c9805366c0a8363460fad484b14b3830b14d088a442fac1

Contents?: true

Size: 845 Bytes

Versions: 18

Compression:

Stored size: 845 Bytes

Contents

# frozen_string_literal: true

module OpenTracing
  module Instrumentation
    module Bunny
      # ConsumeTracerConfig for ConsumeTracer
      class ConsumeTracerConfig
        # @return [ConsumeOperationNameBuilder]
        attr_accessor :operation_name_builder
        # @return [ConsumeTagsBuilder]
        attr_accessor :tags_builder
        # @return [OpenTracing::Tracer]
        attr_accessor :tracer
        # @return [Common::ErrorWriter]
        attr_accessor :error_writer
        # @return [::Logger]
        attr_accessor :logger

        def initialize
          @operation_name_builder = ConsumeOperationNameBuilder.new
          @tags_builder = ConsumeTagsBuilder.new
          @tracer = OpenTracing.global_tracer
          @error_writer = Common::ErrorWriter.new
          @logger = nil
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
opentracing-instrumentation-0.2.1 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.2.0 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.18 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.17 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.16 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.15 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.14 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.13 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.12 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.11 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.10 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.9 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.8 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.7 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.6 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.5 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.4 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb
opentracing-instrumentation-0.1.3 lib/opentracing/instrumentation/bunny/consume_tracer_config.rb