Remove ServerHttpObservationFilter from WebFlux

This commit removes the auto-configuration of the
`ServerHttpObservationFilter` bean for WebFlux applications as it's been
deprecated by Spring Framework.

The Observability instrumentation is now handled at the
`WebHttpHandlerBuilder` in Framework directly and doesn't need any
auto-configuration from Spring Boot.

Closes gh-37344
This commit is contained in:
Brian Clozel
2023-09-12 10:59:25 +02:00
parent 8a1f6d4f32
commit c8d036eaa8
3 changed files with 23 additions and 133 deletions

View File

@@ -245,9 +245,6 @@ When it does so, the orders shown in the following table will be used:
|===
| Web Filter | Order
| `ServerHttpObservationFilter` (Micrometer Observability)
| `Ordered.HIGHEST_PRECEDENCE + 1`
| `WebFilterChainProxy` (Spring Security)
| `-100`