Module: Datadog::Tracing::Contrib::MongoDB::Ext

Defined in:
lib/datadog/tracing/contrib/mongodb/ext.rb

Overview

MongoDB integration constants

Defined Under Namespace

Modules: DB

Constant Summary collapse

ENV_ENABLED =
'DD_TRACE_MONGO_ENABLED'
ENV_SERVICE_NAME =
'DD_TRACE_MONGO_SERVICE_NAME'
ENV_PEER_SERVICE =
'DD_TRACE_MONGO_PEER_SERVICE'
ENV_ANALYTICS_SAMPLE_RATE =
'DD_TRACE_MONGO_ANALYTICS_SAMPLE_RATE'
DEFAULT_PEER_SERVICE_NAME =
'mongodb'
SPAN_COMMAND =
'mongo.cmd'
SPAN_TYPE_COMMAND =
'mongodb'
TAG_COLLECTION =
'mongodb.collection'
TAG_DB =
'mongodb.db'
TAG_OPERATION =
'mongodb.operation'
TAG_QUERY =
'mongodb.query'
TAG_ROWS =
'mongodb.rows'
TAG_COMPONENT =
'mongodb'
TAG_OPERATION_COMMAND =
'command'
TAG_SYSTEM =
'mongodb'
PEER_SERVICE_SOURCES =
(Array[Ext::TAG_DB] + Contrib::Ext::DB::PEER_SERVICE_SOURCES).freeze