Skip to content

Commit 6770be1

Browse files
committed
Document that Spring Boot will auto-configure RestClient.Builder beans with the observation registry
See spring-projects/spring-boot#38500
1 parent e67f892 commit 6770be1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ Instrumentation uses the `org.springframework.http.client.observation.ClientRequ
305305
=== RestClient
306306

307307
Applications must configure an `ObservationRegistry` on the `RestClient.Builder` to enable the instrumentation; without that, observations are "no-ops".
308+
Spring Boot will auto-configure `RestClient.Builder` beans with the observation registry already set.
308309

309310
Instrumentation uses the `org.springframework.http.client.observation.ClientRequestObservationConvention` by default, backed by the `ClientRequestObservationContext`.
310311

0 commit comments

Comments
 (0)