Skip to content

Commit

Permalink
Fix Observation Filter docs
Browse files Browse the repository at this point in the history
`WebMvcMetricsFilter` no longer exists since 3.0 and should be
replaced with `ServerHttpObservationFilter`

See gh-38570
  • Loading branch information
aleksandrserbin authored and mhalbritter committed Nov 28, 2023
1 parent 97af301 commit 23816d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>`.



Expand Down

0 comments on commit 23816d6

Please sign in to comment.