diff --git a/multi/multi__introduction.html b/multi/multi__introduction.html index ef5006608..3ea4a9260 100644 --- a/multi/multi__introduction.html +++ b/multi/multi__introduction.html @@ -150,7 +150,10 @@ However, you can search by tag to find the trace, assuming a span having the sea - foo - upper_case
The code. -
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]+
initialSpan.tag("foo", + ExtraFieldPropagation.get(initialSpan.context(), "foo")); +initialSpan.tag("UPPER_CASE", + ExtraFieldPropagation.get(initialSpan.context(), "UPPER_CASE"));
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 8652c31cf..f2e2cde89 100644 --- a/single/spring-cloud-sleuth.html +++ b/single/spring-cloud-sleuth.html @@ -150,7 +150,10 @@ However, you can search by tag to find the trace, assuming a span having the sea - foo - upper_case
The code. -
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]+
initialSpan.tag("foo", + ExtraFieldPropagation.get(initialSpan.context(), "foo")); +initialSpan.tag("UPPER_CASE", + ExtraFieldPropagation.get(initialSpan.context(), "UPPER_CASE"));
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 1ecddff1d..f0250378b 100644 --- a/spring-cloud-sleuth.xml +++ b/spring-cloud-sleuth.xml @@ -397,7 +397,10 @@ However, you can search by tag to find the trace, assuming a span having the sea
The code - 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] +initialSpan.tag("foo", + ExtraFieldPropagation.get(initialSpan.context(), "foo")); +initialSpan.tag("UPPER_CASE", + ExtraFieldPropagation.get(initialSpan.context(), "UPPER_CASE"));