Module: Datadog::Tracing::Metadata::Ext::Distributed

Defined in:
lib/datadog/tracing/metadata/ext.rb

Overview

Tags related to distributed tracing

Constant Summary collapse

TAG_DECISION_MAKER =

What mechanism was used to make this trace's sampling decision.

See Also:

  • Sampling::Ext::Mechanism
'_dd.p.dm'
TAG_TRACE_SOURCE =

Bitmask for which product generated an event. E.g.: 2 for an AppSec event.

'_dd.p.ts'
TAG_ORIGIN =
'_dd.origin'
TAG_SAMPLING_PRIORITY =
'_sampling_priority_v1'
TAG_DD_PARENT_ID =
'_dd.parent_id'
DD_PARENT_ID_DEFAULT =
'0000000000000000'
TAG_KNUTH_SAMPLING_RATE =

Knuth Sampling Rate: the sampling rate applied by agent-based or rule-based sampling. This is a propagated tag (prefixed with _dd.p.) that is included in x-datadog-tags.

'_dd.p.ksr'
TAGS_PREFIX =

Trace tags with this prefix will propagate from a trace through distributed tracing. Distributed headers tags with this prefix will be injected into the active trace.

'_dd.p.'
TID =

The distributed tag to carry hex encoded high order 64 bits of 127 bits trace id during the context restricted with 64 bits. Such as, Datadog propagation and messagepack encoding

'tid'
TAG_TID =
TAGS_PREFIX + TID