Closed
Description
Spring (Boot) with micrometer(-tracing) nicely propagate traceparent
from an HTTP request header into traceId/spanId withing the app (MDC, etc). However, no traceparent header is included in the Spring (Boot) controller response (corresponding to that request).
While that feature could be implemented with the Filter
, after a discussion with @jonatan-ivanov on Micrometer's Slack, I propose to have this available as a feature in (Reactive) Spring Web.
For backward compatibility, it could be initially available as opt-in, however, for a request with traceparent
, it is natural to have it included also in a corresponding response.