diff --git a/docs/src/main/asciidoc/intro.adoc b/docs/src/main/asciidoc/intro.adoc index c991197ab8..86b5efef95 100644 --- a/docs/src/main/asciidoc/intro.adoc +++ b/docs/src/main/asciidoc/intro.adoc @@ -220,7 +220,6 @@ The following example shows setting baggage on a span: [source,java] ---- include::{github-raw}/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/multiple/MultipleHopsIntegrationTests.java[tags=baggage,indent=0] -} ---- ===== Baggage versus Span Tags diff --git a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc index 17904d256b..8ebe20bd11 100644 --- a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc +++ b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc @@ -461,7 +461,7 @@ IMPORTANT: Remember that adding entries to MDC can drastically decrease the perf The `TraceContext.Extractor` reads trace identifiers and sampling status from an incoming request or message. The carrier is usually a request object or headers. -This utility is used in standard instrumentation (such as `HttpServerHandler``) but can also be used for custom RPC or messaging code. +This utility is used in standard instrumentation (such as `HttpServerHandler`) but can also be used for custom RPC or messaging code. `TraceContextOrSamplingFlags` is usually used only with `Tracer.nextSpan(extracted)`, unless you are sharing span IDs between a client and a server.