Skip to content

Commit

Permalink
Document that tracing is disabled in tests in the "Tracing" section
Browse files Browse the repository at this point in the history
Closes gh-33975
  • Loading branch information
mhalbritter committed Nov 15, 2023
1 parent b7c7b47 commit 9c1c18c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 9c1c18c

Please sign in to comment.