Browse Source

Merge pull request #38570 from aleksandrserbin

* pr/38570:
  Fix Observation Filter docs

Closes gh-38570
pull/38706/head
Moritz Halbritter 2 years ago
parent
commit
63df0c1441
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc

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

@ -757,7 +757,7 @@ TIP: In some cases, exceptions handled in web controllers are not recorded as re @@ -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…
Cancel
Save