mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
ac9360b624
This commit introduces Micrometer as an API dependency to the spring-webflux module. Micrometer is used here to instrument `WebClient` and record `Observation` for HTTP client exchanges. This replaces Spring Boot's `MetricsWebClientFilterFunction` which instruments `WebClient` via an `ExchangeFilterFunction`. Here, a direct instrumentation is more efficient and less prone to metrics errors. See gh-28341