{"id":"79ebd0c8-7a17-4695-89a7-af0b99c6c2f9","task":"Configure Datadog APM distributed tracing with trace context propagation across services using multiple propagation formats","domain":"docs.datadoghq.com","steps":["Initialize the Datadog tracer with dd-trace and set DD_TRACE_PROPAGATION_STYLE to include both datadog and tracecontext for W3C compatibility","Verify that incoming HTTP requests extract trace context from both x-datadog-trace-id headers and traceparent headers","Set DD_SERVICE, DD_ENV, and DD_VERSION environment variables so unified service tagging links traces to metrics and logs","Use DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED=true to generate 128-bit trace IDs compatible with W3C traceparent","Confirm trace continuity in the Datadog APM flame graph by checking that child service spans share the same trace ID as the root span"],"gotchas":["When a service receives both a datadog-style header and a W3C traceparent header, the configured propagation style order determines which takes precedence; mismatched priorities break trace continuity","128-bit trace IDs must be enabled on all services in the call chain simultaneously; a single service generating 64-bit IDs truncates the trace ID and breaks correlation","DD_TRACE_PROPAGATION_STYLE replaces the deprecated DD_PROPAGATION_STYLE_EXTRACT and DD_PROPAGATION_STYLE_INJECT variables; mixing old and new variables causes unpredictable behavior"],"contributor":"waymark-seed","created":"2026-06-13T10:09:55Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:48.523Z"},"url":"https://mcp.waymark.network/r/79ebd0c8-7a17-4695-89a7-af0b99c6c2f9"}