From 740f85d4493d5a736bd46ace43837acfa031c6cd Mon Sep 17 00:00:00 2001 From: buildmaster Date: Mon, 16 Oct 2017 14:30:38 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- multi/multi__introduction.html | 3 ++- single/spring-cloud-sleuth.html | 3 ++- spring-cloud-sleuth.xml | 6 +++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/multi/multi__introduction.html b/multi/multi__introduction.html index dd9978448..6926954b2 100644 --- a/multi/multi__introduction.html +++ b/multi/multi__introduction.html @@ -138,7 +138,8 @@ Span span = tracer.getCurrentSpan(); String baggageKey = "key"; String baggageValue = "foo"; span.setBaggageItem(baggageKey, baggageValue); -tracer.addTag(baggageKey, baggageValue);

1.3 Adding to the project

1.3.1 Only Sleuth (log correlation)

If you want to profit only from Spring Cloud Sleuth without the Zipkin integration just add +tracer.addTag(baggageKey, baggageValue);

1.3 Adding to the project

[Important]Important

To ensure that your application name is properly displayed in Zipkin + set the spring.application.name property in bootstrap.yml.

1.3.1 Only Sleuth (log correlation)

If you want to profit only from Spring Cloud Sleuth without the Zipkin integration just add the spring-cloud-starter-sleuth module to your project.

Maven. 

<dependencyManagement> 1
          <dependencies>
diff --git a/single/spring-cloud-sleuth.html b/single/spring-cloud-sleuth.html
index 58d55951c..533ff66dc 100644
--- a/single/spring-cloud-sleuth.html
+++ b/single/spring-cloud-sleuth.html
@@ -138,7 +138,8 @@ Span span = tracer.getCurrentSpan();
 String baggageKey = "key";
 String baggageValue = "foo";
 span.setBaggageItem(baggageKey, baggageValue);
-tracer.addTag(baggageKey, baggageValue);

1.3 Adding to the project

1.3.1 Only Sleuth (log correlation)

If you want to profit only from Spring Cloud Sleuth without the Zipkin integration just add +tracer.addTag(baggageKey, baggageValue);

1.3 Adding to the project

[Important]Important

To ensure that your application name is properly displayed in Zipkin + set the spring.application.name property in bootstrap.yml.

1.3.1 Only Sleuth (log correlation)

If you want to profit only from Spring Cloud Sleuth without the Zipkin integration just add the spring-cloud-starter-sleuth module to your project.

Maven. 

<dependencyManagement> 1
          <dependencies>
diff --git a/spring-cloud-sleuth.xml b/spring-cloud-sleuth.xml
index 87b335a03..d48cdca1e 100644
--- a/spring-cloud-sleuth.xml
+++ b/spring-cloud-sleuth.xml
@@ -4,7 +4,7 @@
 
 
 Spring Cloud Sleuth
-2017-10-12
+2017-10-16
 
 
 Adrian Cole, Spencer Gibb, Marcin Grzejszczak, Dave Syer
@@ -370,6 +370,10 @@ tracer.addTag(baggageKey, baggageValue);
 
 
Adding to the project + +To ensure that your application name is properly displayed in Zipkin + set the spring.application.name property in bootstrap.yml. +
Only Sleuth (log correlation) If you want to profit only from Spring Cloud Sleuth without the Zipkin integration just add