Merge branch '3.0.x' into 3.1.x

pull/36168/head
Phillip Webb 1 year ago
commit 7c63870305

@ -67,9 +67,10 @@ 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!
@ -157,6 +158,8 @@ This will create an observation named "some-operation" with the tag "some-tag=so
TIP: If you want to create a span without creating a metric, you need to use the https://micrometer.io/docs/tracing#_using_micrometer_tracing_directly[lower-level `Tracer` API] from Micrometer.
[[actuator.micrometer-tracing.baggage]]
=== Baggage
You can create baggage with the `Tracer` API:

Loading…
Cancel
Save