The `ServerHttpObservationFilter` implementations record observations for processed HTTP exchanges. The `Observation.Context` contains various metadata contributed by the observation convention. The instrumentation can also mark the observation as an error by setting any `Throwable` on the context. Because the instrumentation is done as filters, only exceptions reaching the filter can be considered. Any error handled at a lower level by the Framework can, or cannot be considered as an error for an observation. This commit documents how a web application should opt-in for considering a handled exception as an error for the current observation. Closes gh-29848 |
||
---|---|---|
.. | ||
core | ||
data-access | ||
images | ||
integration | ||
languages | ||
testing | ||
web | ||
appendix.adoc | ||
attributes.adoc | ||
core.adoc | ||
data-access.adoc | ||
index-docinfo-header.html | ||
index.adoc | ||
integration.adoc | ||
languages.adoc | ||
overview.adoc | ||
page-layout.adoc | ||
rsocket.adoc | ||
spring-framework.adocbook | ||
testing.adoc | ||
web-reactive.adoc | ||
web.adoc |