Skip to content

ServerHttpObservationFilter does not fill pathPattern #32099

Closed as not planned
Closed as not planned
@bergerdenes

Description

@bergerdenes

Affects: 6.0.15, 6.1.3


This property is necessary for collecting metrics via Micrometer.

In the org.springframework.http.server.observation.DefaultServerRequestObservationConvention class, the protected KeyValue uri(ServerRequestObservationContext context) method tries to get context.getPathPattern() but it is always null.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions