Sha256: bae6564624e0333ea23119c433a4eda5be05191dd3e2e31199412607051fcb70

Contents?: true

Size: 929 Bytes

Versions: 7

Compression:

Stored size: 929 Bytes

Contents

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
            KEY_TRACEPARENT = 'traceparent'.freeze
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ddtrace-1.12.1 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.12.0 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.11.1 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.11.0 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.11.0.beta1 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.10.1 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb
ddtrace-1.10.0 lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb