Skip to content

Commit 714e057

Browse files
Fix typo in document Observability Support
1 parent 8d4a8cb commit 714e057

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

framework-docs/modules/ROOT/pages/integration/observability.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ This instrumentation will create 2 types of observations:
126126
* `"jms.message.publish"` when a JMS message is sent to the broker, typically with `JmsTemplate`.
127127
* `"jms.message.process"` when a JMS message is processed by the application, typically with a `MessageListener` or a `@JmsListener` annotated method.
128128

129-
NOTE: currently there is no instrumentation for `"jms.message.receive"` observations as there is little value in measuring the time spent waiting for the reception of a message.
129+
NOTE: Currently there is no instrumentation for `"jms.message.receive"` observations as there is little value in measuring the time spent waiting for the reception of a message.
130130
Such an integration would typically instrument `MessageConsumer#receive` method calls. But once those return, the processing time is not measured and the trace scope cannot be propagated to the application.
131131

132132
By default, both observations share the same set of possible `KeyValues`:
@@ -238,7 +238,7 @@ include-code::./HttpHandlerConfiguration[]
238238
It is using the `org.springframework.http.server.reactive.observation.DefaultServerRequestObservationConvention` by default, backed by the `ServerRequestObservationContext`.
239239

240240
This will only record an observation as an error if the `Exception` has not been handled by an application Controller.
241-
Typically, all exceptions handled by Spring WebFlux's `@ExceptionHandler` and <<web.adoc#webflux-ann-rest-exceptions,`ProblemDetail` support>> will not be recorded with the observation.
241+
Typically, all exceptions handled by Spring WebFlux's `@ExceptionHandler` and xref:web/webflux/ann-rest-exceptions.adoc#webflux-ann-rest-exceptions[`ProblemDetail` support] will not be recorded with the observation.
242242
You can, at any point during request processing, set the error field on the `ObservationContext` yourself:
243243

244244
include-code::./UserController[]
@@ -332,7 +332,7 @@ Instrumentation uses the `org.springframework.http.client.observation.ClientRequ
332332
[[observability.http-client.webclient]]
333333
=== WebClient
334334

335-
Applications must configure an `ObservationRegistry` on the `WebClient` builder to enable the instrumentation; without that, observations are "no-ops".
335+
Applications must configure an `ObservationRegistry` on the `WebClient.Builder` to enable the instrumentation; without that, observations are "no-ops".
336336
Spring Boot will auto-configure `WebClient.Builder` beans with the observation registry already set.
337337

338338
Instrumentation uses the `org.springframework.web.reactive.function.client.ClientRequestObservationConvention` by default, backed by the `ClientRequestObservationContext`.

0 commit comments

Comments
 (0)