Sha256: d154fa4f8d757f8f1926ff1a667c01b688b342f7c173beea3bca3b6dd95dfceb

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

module Datadog
  module Tracing
    module Contrib
      module Pg
        # pg integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_PG_ENABLED'.freeze
          ENV_SERVICE_NAME = 'DD_TRACE_PG_SERVICE_NAME'.freeze
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_PG_ANALYTICS_ENABLED'.freeze
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_PG_ANALYTICS_SAMPLE_RATE'.freeze
          DEFAULT_PEER_SERVICE_NAME = 'pg'.freeze
          SPAN_EXEC = 'pg.exec'.freeze
          SPAN_EXEC_PARAMS = 'pg.exec.params'.freeze
          SPAN_EXEC_PREPARED = 'pg.exec.prepared'.freeze
          SPAN_ASYNC_EXEC = 'pg.async.exec'.freeze
          SPAN_ASYNC_EXEC_PARAMS = 'pg.async.exec.params'.freeze
          SPAN_ASYNC_EXEC_PREPARED = 'pg.async.exec.prepared'.freeze
          SPAN_SYNC_EXEC = 'pg.sync.exec'.freeze
          SPAN_SYNC_EXEC_PARAMS = 'pg.sync.exec.params'.freeze
          SPAN_SYNC_EXEC_PREPARED = 'pg.sync.exec.prepared'.freeze
          TAG_DB_NAME = 'pg.db.name'.freeze
          TAG_COMPONENT = 'pg'.freeze
          TAG_OPERATION_QUERY = 'query'.freeze

          TAG_SYSTEM = 'postgresql'.freeze
        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/pg/ext.rb
ddtrace-1.12.0 lib/datadog/tracing/contrib/pg/ext.rb
ddtrace-1.11.1 lib/datadog/tracing/contrib/pg/ext.rb
ddtrace-1.11.0 lib/datadog/tracing/contrib/pg/ext.rb
ddtrace-1.11.0.beta1 lib/datadog/tracing/contrib/pg/ext.rb
ddtrace-1.10.1 lib/datadog/tracing/contrib/pg/ext.rb
ddtrace-1.10.0 lib/datadog/tracing/contrib/pg/ext.rb