Merge branch '3.0.x' into 3.1.x

Closes gh-36131
This commit is contained in:
Moritz Halbritter 2023-06-30 10:44:34 +02:00
commit 3d15b02441
1 changed files with 7 additions and 0 deletions

View File

@ -67,6 +67,13 @@ Press the "Show" button to see the details of that trace.
TIP: You can include the current trace and span id in the logs by setting the configprop:logging.pattern.level[] property to `%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]`
[[actuator.micrometer-tracing.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.
WARNING: If you create the `WebClient` or the `RestTemplate` without using the auto-configured builders, automatic trace propagation won't work!
[[actuator.micrometer-tracing.tracer-implementations]]