Sha256: 18a4bc84a252f6a89242caeb61bb22c64112781acae7fae909703184751d6f4c

Contents?: true

Size: 1.16 KB

Versions: 20

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: 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'
          # @!visibility private
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_RACECAR_ANALYTICS_ENABLED'
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_RACECAR_ANALYTICS_SAMPLE_RATE'
          DEFAULT_PEER_SERVICE_NAME = 'racecar'
          SPAN_CONSUME = 'racecar.consume'
          SPAN_BATCH = 'racecar.batch'
          SPAN_MESSAGE = 'racecar.message'
          TAG_CONSUMER = 'kafka.consumer'
          TAG_FIRST_OFFSET = 'kafka.first_offset'
          TAG_MESSAGE_COUNT = 'kafka.message_count'
          TAG_OFFSET = 'kafka.offset'
          TAG_PARTITION = 'kafka.partition'
          TAG_TOPIC = 'kafka.topic'
          TAG_COMPONENT = 'racecar'
          TAG_OPERATION_CONSUME = 'consume'
          TAG_OPERATION_BATCH = 'batch'
          TAG_OPERATION_MESSAGE = 'message'
          TAG_MESSAGING_SYSTEM = 'kafka'
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
datadog-2.9.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.8.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.7.1 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.7.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.6.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.5.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.4.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.3.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.2.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.23.3 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.23.2 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.1.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.0.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.23.1 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.0.0.beta2 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.22.0 lib/datadog/tracing/contrib/racecar/ext.rb
datadog-2.0.0.beta1 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.21.1 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.21.0 lib/datadog/tracing/contrib/racecar/ext.rb
ddtrace-1.20.0 lib/datadog/tracing/contrib/racecar/ext.rb