Sha256: 251178f2f977fcf58e4f2d7ea2e2d42d7f03eb44188021b2f29048c1451c6bde

Contents?: true

Size: 894 Bytes

Versions: 3

Compression:

Stored size: 894 Bytes

Contents

# typed: false

module Datadog
  module Tracing
    module Contrib
      module Propagation
        module SqlComment
          module Ext
            ENV_DBM_PROPAGATION_MODE = 'DD_DBM_PROPAGATION_MODE'.freeze

            # The default mode for sql comment propagation
            DISABLED = 'disabled'.freeze

            # The `service` mode propagates service configuration
            SERVICE = 'service'.freeze

            # The `full` mode propagates service configuration + trace context
            FULL = 'full'.freeze

            # The value should be `true` when `full` mode
            TAG_DBM_TRACE_INJECTED = '_dd.dbm_trace_injected'.freeze

            KEY_DATABASE_SERVICE = 'dddbs'.freeze
            KEY_ENVIRONMENT = 'dde'.freeze
            KEY_PARENT_SERVICE = 'ddps'.freeze
            KEY_VERSION = 'ddpv'.freeze
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ddtrace-1.7.0 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.6.1 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.6.0 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb