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
20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
:chomp: default headers packages
|
|
:fold: all
|
|
:docs-site: https://docs.spring.io
|
|
// Spring Framework
|
|
:docs-spring-framework: {docs-site}/spring-framework/docs/{spring-version}
|
|
:api-spring-framework: {docs-spring-framework}/javadoc-api/org/springframework
|
|
:docs-java: {docdir}/../../main/java/org/springframework/docs
|
|
:docs-kotlin: {docdir}/../../main/kotlin/org/springframework/docs
|
|
:docs-resources: {docdir}/../../main/resources
|
|
:spring-framework-main-code: https://github.com/spring-projects/spring-framework/tree/main
|
|
// Spring portfolio Links
|
|
:docs-spring-boot: {docs-site}/spring-boot/docs/current/reference
|
|
:docs-spring-gemfire: {docs-site}/spring-gemfire/docs/current/reference
|
|
:docs-spring-security: {docs-site}/spring-security/reference
|
|
// Third-party Links
|
|
:docs-graalvm: https://www.graalvm.org/22.3/reference-manual
|
|
:gh-rsocket: https://github.com/rsocket
|
|
:gh-rsocket-extensions: {gh-rsocket}/rsocket/blob/master/Extensions
|
|
:gh-rsocket-java: {gh-rsocket}/rsocket-java
|