APIM expose W3C tracing trace-id parent-id for get/set
Edwin van de Burgt
91
Reputation points
When there is no incoming traceparent header, APIM generates an traceparent for the backend calls, when using the W3C correlation protocol.
At least read-access to this APIM-generated traceparent (or specifically its trace-id and parent-id) is required, so e.g. you can include a traceparent in a send-request, but this doesn't seem possible.
Unfortunately, the traceparent's trace-id does not match the context.RequestId either.
Please expose the traceparent, preferable through the APIM context object.