module Datadog::Ext::DistributedTracing

Constants

B3_HEADER_SAMPLED
B3_HEADER_SINGLE
B3_HEADER_SPAN_ID
B3_HEADER_TRACE_ID

B3 headers used for distributed tracing

GRPC_METADATA_ORIGIN
GRPC_METADATA_PARENT_ID
GRPC_METADATA_SAMPLING_PRIORITY
GRPC_METADATA_TRACE_ID

gRPC metadata keys for distributed tracing. github.com/grpc/grpc-go/blob/v1.10.x/Documentation/grpc-metadata.md

HTTP_HEADER_ORIGIN
HTTP_HEADER_PARENT_ID
HTTP_HEADER_SAMPLING_PRIORITY
HTTP_HEADER_TRACE_ID

HTTP headers one should set for distributed tracing. These are cross-language (eg: Python, Go and other implementations should honor these)

ORIGIN_KEY
PROPAGATION_EXTRACT_STYLE_ENV_OLD
PROPAGATION_INJECT_STYLE_ENV_OLD

NOTE: the below inject/extract values are deprecated and were defined erronously they were never part of the datadog language client standard or documentation some users may already be relying on them, but we should look to remove these in the future or before 1.0.

PROPAGATION_STYLE_B3
PROPAGATION_STYLE_B3_SINGLE_HEADER
PROPAGATION_STYLE_DATADOG

Distributed tracing propagation options

PROPAGATION_STYLE_EXTRACT_ENV
PROPAGATION_STYLE_INJECT_ENV
SAMPLING_PRIORITY_KEY