Sha256: e727e7069befe623df036b1f306beef53ca054938202972fac6046a62dfb33e6

Contents?: true

Size: 1.11 KB

Versions: 15

Compression:

Stored size: 1.11 KB

Contents

module Datadog
  module Contrib
    module ActiveRecord
      # ActiveRecord integration constants
      module Ext
        APP = 'active_record'.freeze
        ENV_ENABLED = 'DD_TRACE_ACTIVE_RECORD_ENABLED'.freeze
        ENV_ANALYTICS_ENABLED = 'DD_TRACE_ACTIVE_RECORD_ANALYTICS_ENABLED'.freeze
        ENV_ANALYTICS_ENABLED_OLD = 'DD_ACTIVE_RECORD_ANALYTICS_ENABLED'.freeze
        ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_ACTIVE_RECORD_ANALYTICS_SAMPLE_RATE'.freeze
        ENV_ANALYTICS_SAMPLE_RATE_OLD = 'DD_ACTIVE_RECORD_ANALYTICS_SAMPLE_RATE'.freeze
        SERVICE_NAME = 'active_record'.freeze
        SPAN_INSTANTIATION = 'active_record.instantiation'.freeze
        SPAN_SQL = 'active_record.sql'.freeze
        SPAN_TYPE_INSTANTIATION = 'custom'.freeze
        TAG_DB_CACHED = 'active_record.db.cached'.freeze
        TAG_DB_NAME = 'active_record.db.name'.freeze
        TAG_DB_VENDOR = 'active_record.db.vendor'.freeze
        TAG_INSTANTIATION_CLASS_NAME = 'active_record.instantiation.class_name'.freeze
        TAG_INSTANTIATION_RECORD_COUNT = 'active_record.instantiation.record_count'.freeze
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
ddtrace-0.51.1 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.51.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.50.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.49.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.48.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.47.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.46.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.45.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.44.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.43.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.42.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.41.0 lib/ddtrace/contrib/active_record/ext.rb
ls-trace-0.2.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.40.0 lib/ddtrace/contrib/active_record/ext.rb
ddtrace-0.39.0 lib/ddtrace/contrib/active_record/ext.rb