Sha256: 8bcd9b9065481a6986a77d26aa7222c9d6ed1ec0fbcaa2332b623f5e7870d288

Contents?: true

Size: 853 Bytes

Versions: 2

Compression:

Stored size: 853 Bytes

Contents

# typed: true

module Datadog
  module Tracing
    module Contrib
      module Mysql2
        # Mysql2 integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_MYSQL2_ENABLED'.freeze
          ENV_SERVICE_NAME = 'DD_TRACE_MYSQL2_SERVICE_NAME'.freeze
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_MYSQL2_ANALYTICS_ENABLED'.freeze
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_MYSQL2_ANALYTICS_SAMPLE_RATE'.freeze
          DEFAULT_PEER_SERVICE_NAME = 'mysql2'.freeze
          SPAN_QUERY = 'mysql2.query'.freeze
          TAG_DB_NAME = 'mysql2.db.name'.freeze
          TAG_COMPONENT = 'mysql2'.freeze
          TAG_OPERATION_QUERY = 'query'.freeze
          TAG_SYSTEM = 'mysql'.freeze
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/tracing/contrib/mysql2/ext.rb
ddtrace-1.8.0 lib/datadog/tracing/contrib/mysql2/ext.rb