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

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

Overview

Trace and span tags that represent meta information regarding the trace. These fields are normally only used internally, and can have special meaning to downstream trace processing.

Defined Under Namespace

Modules: Analytics, AppTypes, Distributed, Errors, HTTP, NET, SQL, Sampling, SpanKind

Constant Summary collapse

TAG_COMPONENT =

Name of package that was instrumented

'component'
TAG_OPERATION =

Type of operation being performed (e.g. )

'operation'
TAG_PEER_HOSTNAME =

Hostname of external service interacted with

This tag also doesn’t strictly need to be a “hostname”. It can be a raw IP address and in some cases it can even be a unix domain socket (i.e. postgres client setting host=/var/run/postgres). It should be whatever the client uses to point at the server it’s trying to talk to.

'peer.hostname'
TAG_PEER_SERVICE =

Name of external service that performed the work

'peer.service'
TAG_KIND =
'span.kind'
TAG_TOP_LEVEL =

Set this tag to ‘1.0` if the span is a Service Entry span.

'_dd.top_level'
TAG_PROFILING_ENABLED =

Set to ‘1.0` if profiling is enabled together with tracing, and `0.0` otherwise See Datadog-internal “RFC: Identifying which spans have profiling enabled ” for details

'_dd.profiling.enabled'