From 4830ef383ef07f5c7b060f98c186aec6392b0dd5 Mon Sep 17 00:00:00 2001 From: Francisco Mateo Date: Tue, 18 Aug 2020 11:40:45 -0500 Subject: [PATCH] Include WebClient.Builder in HTTP Client Integration docs (#1718) --- docs/src/main/asciidoc/spring-cloud-sleuth.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc index 39bc45aad..7d494b516 100644 --- a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc +++ b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc @@ -1261,8 +1261,8 @@ We inject a `ExchangeFilterFunction` implementation that creates a span and, thr To block this feature, set `spring.sleuth.web.client.enabled` to `false`. -IMPORTANT: You have to register `WebClient` as a bean so that the tracing instrumentation gets applied. -If you create a `WebClient` instance with a `new` keyword, the instrumentation does NOT work. +IMPORTANT: You have to register either a `WebClient` or `WebClient.Builder` as a bean so that the tracing instrumentation gets applied. +If you manually create a `WebClient` or `WebClient.Builder`, the instrumentation does NOT work. ==== Traverson