mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Document that tracing is disabled in tests in the "Tracing" section
Closes gh-33975
This commit is contained in:
parent
b7c7b47c97
commit
9c1c18c2b9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user