Sha256: 6a190106dfc6de67f6aedf865457f2bdb5faf83c29151b6c67f50a512c212898

Contents?: true

Size: 856 Bytes

Versions: 18

Compression:

Stored size: 856 Bytes

Contents

# frozen_string_literal: true

module OpenTracing
  module Instrumentation
    module Hutch
      # Config 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 = ::Hutch::Logging.logger
        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/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.2.0 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.18 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.17 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.16 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.15 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.14 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.13 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.12 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.11 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.10 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.9 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.8 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.7 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.6 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.5 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.4 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb
opentracing-instrumentation-0.1.3 lib/opentracing/instrumentation/hutch/consume_tracer_config.rb