Browse Source

Merge branch '3.1.x'

Closes gh-38362
pull/38368/head
Moritz Halbritter 2 years ago
parent
commit
328261337e
  1. 8
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/tracing.adoc

8
spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/tracing.adoc

@ -196,3 +196,11 @@ For the example above, setting this property to `baggage1` results in an HTTP he @@ -196,3 +196,11 @@ For the example above, setting this property to `baggage1` results in an HTTP he
If you want to propagate the baggage to the MDC, use the configprop:management.tracing.baggage.correlation.fields[] configuration property.
For the example above, setting this property to `baggage1` results in an MDC entry named `baggage1`.
[[actuator.micrometer-tracing.tests]]
=== Tests
Tracing is not auto-configured when using `@SpringBootTest`.
See <<features#features.testing.spring-boot-applications.tracing, the testing section>> for more details.

Loading…
Cancel
Save