Files
spring-framework/framework-docs/modules/ROOT/pages
Brian Clozel 96a429a561 Move reactive server instrumentation out of WebFilter
Prior to this commit, the Observation instrumentation for Reactive
server applications was implemented with a `WebFilter`. This allowed to
record observations and set up a tracing context for the controller
handlers.

The limitation of this approach is that all processing happening at a
lower level is not aware of any observation. Here, the
`HttpWebHandlerAdapter` handles several interesting aspects:

* logging of HTTP requests and responses at the TRACE level
* logging of client disconnect errors
* handling of unresolved errors

With the current instrumentation, these logging statements will miss the
tracing context information. As a result, this commit deprecates the
`ServerHttpObservationFilter` in favor of a more direct instrumentation
of the `HttpWebHandlerAdapter`. This enables a more precise
instrumentattion and allows to set up the current observation earlier in
the reactor context: log statements will now contain the relevant
information.

Fixes gh-30013
2023-05-22 11:03:02 +02:00
..
2023-05-15 15:23:16 +02:00
2023-05-15 15:09:06 +02:00
2023-05-04 15:35:05 +01:00
2023-05-09 12:15:43 +01:00
2023-05-09 14:08:04 +02:00
2023-05-04 15:35:05 +01:00
2023-05-04 15:35:05 +01:00
2023-05-05 16:56:25 +01:00
2023-05-04 15:35:05 +01:00
2023-05-09 12:16:13 +01:00
2023-05-04 15:35:05 +01:00