Sha256: fe60ae4ded05eee9565026eb405ffcb94e8d251f43edf9fcfa16de8339ea1701

Contents?: true

Size: 931 Bytes

Versions: 18

Compression:

Stored size: 931 Bytes

Contents

# frozen_string_literal: true

module OpenTracing
  module Instrumentation
    module Bunny
      # PublishTracerConfig for PublishTracer
      class PublishTracerConfig
        # @return [OpenTracing::Tracer]
        attr_accessor :tracer
        # @return [PublishOperationNameBuilder]
        attr_accessor :operation_name_builder
        # @return [PublishTagsBuilder]
        attr_accessor :tags_builder
        # @return [HeadersInjector]
        attr_accessor :injector
        # @return [Common::ErrorWriter]
        attr_accessor :error_writer
        # @return [::Logger]
        attr_accessor :logger

        def initialize
          @tracer = OpenTracing.global_tracer
          @operation_name_builder = PublishOperationNameBuilder.new
          @tags_builder = PublishTagsBuilder.new
          @injector = HeadersInjector.new
          @error_writer = Common::ErrorWriter.new
        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/publish_tracer_config.rb
opentracing-instrumentation-0.2.0 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.18 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.17 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.16 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.15 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.14 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.13 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.12 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.11 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.10 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.9 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.8 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.7 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.6 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.5 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.4 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb
opentracing-instrumentation-0.1.3 lib/opentracing/instrumentation/bunny/publish_tracer_config.rb