Skip to content

Allow ServerHttpObservationFilter to be extended #30632

Closed
@szpak

Description

@szpak

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.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracing

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions