Document that tracing is disabled in tests in the "Tracing" section

Closes gh-33975
This commit is contained in:
Moritz Halbritter 2023-11-15 09:04:54 +01:00
parent b7c7b47c97
commit 9c1c18c2b9

View File

@ -174,3 +174,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.