Currently, Spring MVC and WebFlux applications are instrumented wit Micrometer metrics in Spring Boot, thanks to org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter and org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter. Those filters are then auto-configured by Spring Boot and their metrics exported with the metrics system.

While those are timing request handling properly, the extraction of metadata can be complex since it requires inner knowledge of the web framework and is sometimes limited because it would need direct access to the request handling.

With the introduction of Observation in Micrometer 1.10, Spring Framework is now instrumenting directly some of its features. This issue aims at instrumenting the MVC and WebFlux web frameworks for the "http.server.requests" observation.