Merge branch '3.1.x'
Closes gh-36132
This commit is contained in:
@@ -89,6 +89,13 @@ For example, the following will provide a correlation ID for Logback in format p
|
||||
NOTE: In the example above, configprop:logging.include-application-name[] is set to `false` to avoid the application name being duplicated in the log messages (configprop:logging.pattern.correlation[] already contains it).
|
||||
It's also worth mentioning that configprop:logging.pattern.correlation[] contains a trailing space so that it is separated from the logger name that comes right after it by default.
|
||||
|
||||
[[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]]
|
||||
|
||||
Reference in New Issue
Block a user