Sha256: 429e44b6944c6f97911a442b635b8733a53e35bc11044b81f7639a53f9ac27ac

Contents?: true

Size: 1023 Bytes

Versions: 5

Compression:

Stored size: 1023 Bytes

Contents

# typed: true
module Datadog
  module Contrib
    module Racecar
      # Racecar integration constants
      module Ext
        APP = 'racecar'.freeze
        ENV_ENABLED = 'DD_TRACE_RACECAR_ENABLED'.freeze
        ENV_ANALYTICS_ENABLED = 'DD_TRACE_RACECAR_ANALYTICS_ENABLED'.freeze
        ENV_ANALYTICS_ENABLED_OLD = 'DD_RACECAR_ANALYTICS_ENABLED'.freeze
        ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_RACECAR_ANALYTICS_SAMPLE_RATE'.freeze
        ENV_ANALYTICS_SAMPLE_RATE_OLD = 'DD_RACECAR_ANALYTICS_SAMPLE_RATE'.freeze
        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
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-0.54.2 lib/ddtrace/contrib/racecar/ext.rb
ddtrace-0.54.1 lib/ddtrace/contrib/racecar/ext.rb
ddtrace-0.54.0 lib/ddtrace/contrib/racecar/ext.rb
ddtrace-0.53.0 lib/ddtrace/contrib/racecar/ext.rb
ddtrace-0.52.0 lib/ddtrace/contrib/racecar/ext.rb