From 9c1c18c2b9440a7c5a43a3c036543d3cd93d7266 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Wed, 15 Nov 2023 09:04:54 +0100 Subject: [PATCH] Document that tracing is disabled in tests in the "Tracing" section Closes gh-33975 --- .../src/docs/asciidoc/actuator/tracing.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/tracing.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/tracing.adoc index 467bfb670a0..fbe341a65ff 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/tracing.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/tracing.adoc @@ -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 <> for more details.