Skip to content

Reorganize server observability packages #29477

Closed
@bclozel

Description

@bclozel

As part of #29334, the HTTP observability types were moved from org.springframework.web.observation to org.springframework.http.observation. While this improved the overall structure of the codebase, it also introduced a package tangle since classes in org.springframework.http.observation.reactive depend on org.springframework.web.* types like PathPattern and ServerWebExchange.

We should either ensure that observation types don't depend on higher level types (by flattening the ServerWebExchange dependency and using raw String instead of path pattern), or move back types where they were.

As part of this issue, we should ensure that no cycle remains and that the package structure is consistent, including in client observations.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingtype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions