Skip to content

Commit 23816d6

Browse files
aleksandrserbinmhalbritter
authored andcommitted
Fix Observation Filter docs
`WebMvcMetricsFilter` no longer exists since 3.0 and should be replaced with `ServerHttpObservationFilter` See gh-38570
1 parent 97af301 commit 23816d6

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ TIP: In some cases, exceptions handled in web controllers are not recorded as re
757757
Applications can opt in and record exceptions by <<web#web.servlet.spring-mvc.error-handling, setting handled exceptions as request attributes>>.
758758

759759
By default, all requests are handled.
760-
To customize the filter, provide a `@Bean` that implements `FilterRegistrationBean<WebMvcMetricsFilter>`.
760+
To customize the filter, provide a `@Bean` that implements `FilterRegistrationBean<ServerHttpObservationFilter>`.
761761

762762

763763

0 commit comments

Comments
 (0)