From d4c4a88716c973b3759588797e5de412b1656760 Mon Sep 17 00:00:00 2001 From: Akihito Nakano Date: Sat, 15 Dec 2018 21:57:03 +0900 Subject: [PATCH] Fix typo in docs (#1157) * Fix typo * Revert the change applied to root README * Fix the docs module * Revert a change of root README --- docs/src/main/asciidoc/intro.adoc | 1 - docs/src/main/asciidoc/spring-cloud-sleuth.adoc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/intro.adoc b/docs/src/main/asciidoc/intro.adoc index c991197ab..86b5efef9 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 17904d256..8ebe20bd1 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.