Module: Datadog::Contrib::ActiveRecord::Ext

Defined in:
lib/ddtrace/contrib/active_record/ext.rb

Overview

ActiveRecord integration constants

Constant Summary collapse

APP =
'active_record'.freeze
ENV_ANALYTICS_ENABLED =
'DD_ACTIVE_RECORD_ANALYTICS_ENABLED'.freeze
ENV_ANALYTICS_SAMPLE_RATE =
'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