application SDK MUST propagate trace parent part of the context (version, traceId, parentId and traceFlags) in the message in Diagnostic-Id application property following W3C trace-context format for traceparent encoding.
Also, propagate W3C trace context using W3C Trace Context Propagator from OpenTelemetry. It should populate traceparent and tracestate application properties.
traceparent must match Diagnostic-Id value.
When extracting the context, first get W3C trace-context and then (if missing) read Diagnostic-Id.