diff --git a/multi/multi__introduction.html b/multi/multi__introduction.html index 3ea4a9260..ef5006608 100644 --- a/multi/multi__introduction.html +++ b/multi/multi__introduction.html @@ -150,10 +150,7 @@ However, you can search by tag to find the trace, assuming a span having the sea - foo - upper_case
The code. -
initialSpan.tag("foo", - ExtraFieldPropagation.get(initialSpan.context(), "foo")); -initialSpan.tag("UPPER_CASE", - ExtraFieldPropagation.get(initialSpan.context(), "UPPER_CASE"));
+
Unresolved directive in intro.adoc - include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/multiple/MultipleHopsIntegrationTests.java[tags=baggage_tag,indent=0]
This section addresses how to add Sleuth to your project with either Maven or Gradle.
![]() | Important |
|---|---|
To ensure that your application name is properly displayed in Zipkin, set the |
If you want to use only Spring Cloud Sleuth without the Zipkin integration, add the spring-cloud-starter-sleuth module to your project.
The following example shows how to add Sleuth with Maven:
Maven.
<dependencyManagement><dependencies> diff --git a/single/spring-cloud-sleuth.html b/single/spring-cloud-sleuth.html index f2e2cde89..8652c31cf 100644 --- a/single/spring-cloud-sleuth.html +++ b/single/spring-cloud-sleuth.html @@ -150,10 +150,7 @@ However, you can search by tag to find the trace, assuming a span having the sea - foo - upper_case
The code. -
initialSpan.tag("foo", - ExtraFieldPropagation.get(initialSpan.context(), "foo")); -initialSpan.tag("UPPER_CASE", - ExtraFieldPropagation.get(initialSpan.context(), "UPPER_CASE"));
+
Unresolved directive in intro.adoc - include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/multiple/MultipleHopsIntegrationTests.java[tags=baggage_tag,indent=0]
This section addresses how to add Sleuth to your project with either Maven or Gradle.
![]() | Important |
|---|---|
To ensure that your application name is properly displayed in Zipkin, set the |
If you want to use only Spring Cloud Sleuth without the Zipkin integration, add the spring-cloud-starter-sleuth module to your project.
The following example shows how to add Sleuth with Maven:
Maven.
<dependencyManagement><dependencies> diff --git a/spring-cloud-sleuth.xml b/spring-cloud-sleuth.xml index f0250378b..1ecddff1d 100644 --- a/spring-cloud-sleuth.xml +++ b/spring-cloud-sleuth.xml @@ -397,10 +397,7 @@ However, you can search by tag to find the trace, assuming a span having the sea
The code - initialSpan.tag("foo", - ExtraFieldPropagation.get(initialSpan.context(), "foo")); -initialSpan.tag("UPPER_CASE", - ExtraFieldPropagation.get(initialSpan.context(), "UPPER_CASE")); +Unresolved directive in intro.adoc - include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/multiple/MultipleHopsIntegrationTests.java[tags=baggage_tag,indent=0]