mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Document tracing support for RestClient
Closes gh-41182
This commit is contained in:
parent
e9eeac9028
commit
013a4dd2b7
@ -93,9 +93,9 @@ It's also worth mentioning that configprop:logging.pattern.correlation[] contain
|
|||||||
|
|
||||||
[[actuator.micrometer-tracing.propagating-traces]]
|
[[actuator.micrometer-tracing.propagating-traces]]
|
||||||
=== Propagating Traces
|
=== Propagating Traces
|
||||||
To automatically propagate traces over the network, use the auto-configured <<io#io.rest-client.resttemplate, `RestTemplateBuilder`>> or <<io#io.rest-client.webclient, `WebClient.Builder`>> to construct the client.
|
To automatically propagate traces over the network, use the auto-configured <<io#io.rest-client.resttemplate, `RestTemplateBuilder`>>, <<io#io.rest-client.restclient, `RestClient.Builder`>> or <<io#io.rest-client.webclient, `WebClient.Builder`>> to construct the client.
|
||||||
|
|
||||||
WARNING: If you create the `WebClient` or the `RestTemplate` without using the auto-configured builders, automatic trace propagation won't work!
|
WARNING: If you create the `RestTemplate`, the `RestClient` or the `WebClient` without using the auto-configured builders, automatic trace propagation won't work!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user