Skip to content

Move MVC metrics auto-configuration to the new Observation instrumentation #32538

@bclozel

Description

@bclozel

Since spring-projects/spring-framework#28880, Spring Framework now instruments directly Spring MVC with the HttpRequestsObservationFilter, removing the need for a custom WebMvcMetricsFilter.

With this issue, we should update the auto-configuration to only rely on the new ObservationRegistry and configure the instrumentation available on Spring MVC. We need to provide a smooth upgrade experience: deprecate the tags providers and adapt them to the new infrastructure until it's completely removed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions