Sha256: 7d6c1c53b8bc123a88368ddfa1365de9d9914aecebe57a20621dc52d0140a295

Contents?: true

Size: 458 Bytes

Versions: 19

Compression:

Stored size: 458 Bytes

Contents

# frozen_string_literal: true

module OpenTracing
  module Instrumentation
    module Rack
      # StaticCommandNameBuilder build static command_name
      class StaticCommandNameBuilder
        DEFAULT_COMMAND_NAME = 'rack'

        def initialize(
          command_name: DEFAULT_COMMAND_NAME
        )
          @command_name = command_name
        end

        def build_command_name(_env)
          @command_name
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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