Module: Datadog::Ext::DistributedTracing
- Included in:
- Contrib::Faraday::Middleware, DistributedTracing::Headers::B3, DistributedTracing::Headers::B3Single, DistributedTracing::Headers::Datadog, DistributedTracing::Headers::Headers, GRPCPropagator, GRPCPropagator::Carrier, HTTPPropagator, OpenTracer::DistributedHeaders, OpenTracer::RackPropagator, OpenTracer::RackPropagator, OpenTracer::TextMapPropagator, OpenTracer::TextMapPropagator
- Defined in:
- lib/ddtrace/ext/distributed.rb
Constant Summary collapse
- 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)
'x-datadog-trace-id'.freeze
- HTTP_HEADER_PARENT_ID =
'x-datadog-parent-id'.freeze
- HTTP_HEADER_SAMPLING_PRIORITY =
'x-datadog-sampling-priority'.freeze
- SAMPLING_PRIORITY_KEY =
'_sampling_priority_v1'.freeze
- HTTP_HEADER_ORIGIN =
'x-datadog-origin'.freeze
- ORIGIN_KEY =
'_dd.origin'.freeze
- B3_HEADER_TRACE_ID =
B3 headers used for distributed tracing
'x-b3-traceid'.freeze
- B3_HEADER_SPAN_ID =
'x-b3-spanid'.freeze
- B3_HEADER_SAMPLED =
'x-b3-sampled'.freeze
- B3_HEADER_SINGLE =
'b3'.freeze
- PROPAGATION_STYLE_DATADOG =
Distributed tracing propagation options
'Datadog'.freeze
- PROPAGATION_STYLE_B3 =
'B3'.freeze
- PROPAGATION_STYLE_B3_SINGLE_HEADER =
'B3 single header'.freeze
- PROPAGATION_INJECT_STYLE_ENV =
'DD_PROPAGATION_INJECT_STYLE'.freeze
- PROPAGATION_EXTRACT_STYLE_ENV =
'DD_PROPAGATION_EXTRACT_STYLE'.freeze
- GRPC_METADATA_TRACE_ID =
gRPC metadata keys for distributed tracing. github.com/grpc/grpc-go/blob/v1.10.x/Documentation/grpc-metadata.md
'x-datadog-trace-id'.freeze
- GRPC_METADATA_PARENT_ID =
'x-datadog-parent-id'.freeze
- GRPC_METADATA_SAMPLING_PRIORITY =
'x-datadog-sampling-priority'.freeze
- GRPC_METADATA_ORIGIN =
'x-datadog-origin'.freeze