mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix Observation Filter docs
`WebMvcMetricsFilter` no longer exists since 3.0 and should be replaced with `ServerHttpObservationFilter` See gh-38570
This commit is contained in:
parent
97af301262
commit
23816d6015
@ -757,7 +757,7 @@ TIP: In some cases, exceptions handled in web controllers are not recorded as re
|
||||
Applications can opt in and record exceptions by <<web#web.servlet.spring-mvc.error-handling, setting handled exceptions as request attributes>>.
|
||||
|
||||
By default, all requests are handled.
|
||||
To customize the filter, provide a `@Bean` that implements `FilterRegistrationBean<WebMvcMetricsFilter>`.
|
||||
To customize the filter, provide a `@Bean` that implements `FilterRegistrationBean<ServerHttpObservationFilter>`.
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user