Sha256: b24f3ceeb0058180d04cd41fad3cc433fe5a5b2336dc1bef6bf24c77ee3d14ad

Contents?: true

Size: 1.19 KB

Versions: 16

Compression:

Stored size: 1.19 KB

Contents

# typed: true

module Datadog
  module Tracing
    module Contrib
      module Racecar
        # Racecar integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_RACECAR_ENABLED'.freeze
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_RACECAR_ANALYTICS_ENABLED'.freeze
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_RACECAR_ANALYTICS_SAMPLE_RATE'.freeze
          DEFAULT_PEER_SERVICE_NAME = 'racecar'.freeze
          SPAN_CONSUME = 'racecar.consume'.freeze
          SPAN_BATCH = 'racecar.batch'.freeze
          SPAN_MESSAGE = 'racecar.message'.freeze
          TAG_CONSUMER = 'kafka.consumer'.freeze
          TAG_FIRST_OFFSET = 'kafka.first_offset'.freeze
          TAG_MESSAGE_COUNT = 'kafka.message_count'.freeze
          TAG_OFFSET = 'kafka.offset'.freeze
          TAG_PARTITION = 'kafka.partition'.freeze
          TAG_TOPIC = 'kafka.topic'.freeze
          TAG_COMPONENT = 'racecar'.freeze
          TAG_OPERATION_CONSUME = 'consume'.freeze
          TAG_OPERATION_BATCH = 'batch'.freeze
          TAG_OPERATION_MESSAGE = 'message'.freeze
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.8.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.7.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.6.1 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.6.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.5.2 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.5.1 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.5.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.4.2 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.4.1 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.4.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.3.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.2.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.1.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.0.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.0.0.beta2 lib/datadog/tracing/contrib/racecar/ext.rb