Instrument MVC and WebFlux for Observability #28880
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
theme: observability
An issue related to observability and tracing
type: enhancement
A general enhancement
Milestone
Currently, Spring MVC and WebFlux applications are instrumented wit Micrometer metrics in Spring Boot, thanks to
org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter
andorg.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.The text was updated successfully, but these errors were encountered: