Datadog

Datadog trace headers

Datadog propagation relies on the x-datadog-trace-id, x-datadog-parent-id, and x-datadog-sampling-priority headers. Trace IDs are 64-bit integers rather than hex strings.

Key details

  • Datadog IDs are decimal strings and fit in 64 bits.
  • Sampling priority controls whether the trace is kept (values > 0) or dropped.
  • When converting from 128-bit formats, the upper 64 bits are discarded.
Datadog trace headers

Datadog uses multiple headers to carry 64-bit trace and span IDs with sampling priority.

x-datadog-trace-id: 567890123456789
x-datadog-parent-id: 123456789012345
x-datadog-sampling-priority: 1
Privacy note

All parsing and conversion runs locally in your browser. Nothing is sent to a server.

Spec references: Datadog trace context headers.

Decode Datadog headers

Supports W3C traceparent, B3 (single/multi), Jaeger uber-trace-id, and Datadog headers.

Detected format: Unknown / unsupported formatPaste headers to detect the trace format.
Decoded locally in your browser. No data leaves your machine.
Spec-accurate parsing with explicit validation for flags, sampling, and ID lengths.