From 69f2a009c4067ebd2e06627a1980c7afff94f5c5 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 4 Apr 2018 15:20:58 +0000 Subject: [PATCH] Sync docs from 1.3.x to gh-pages --- 1.3.x/multi/multi__sending_spans_to_zipkin.html | 2 +- 1.3.x/single/spring-cloud-sleuth.html | 2 +- 1.3.x/spring-cloud-sleuth.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/1.3.x/multi/multi__sending_spans_to_zipkin.html b/1.3.x/multi/multi__sending_spans_to_zipkin.html index a749b0b1b..e9ea6b36b 100644 --- a/1.3.x/multi/multi__sending_spans_to_zipkin.html +++ b/1.3.x/multi/multi__sending_spans_to_zipkin.html @@ -32,5 +32,5 @@ object, you will have to create a bean of zipkin2.reporter ZipkinRestTemplateCustomizer zipkinRestTemplateCustomizer) { RestTemplate restTemplate = mySuperCustomRestTemplate(); zipkinRestTemplateCustomizer.customize(restTemplate); - return new RestTemplateSender(restTemplate, zipkin.getBaseUrl(), zipkin.getEncoder()); + return myCustomSender(zipkin, restTemplate); } \ No newline at end of file diff --git a/1.3.x/single/spring-cloud-sleuth.html b/1.3.x/single/spring-cloud-sleuth.html index cceba2481..7924c4d33 100644 --- a/1.3.x/single/spring-cloud-sleuth.html +++ b/1.3.x/single/spring-cloud-sleuth.html @@ -595,7 +595,7 @@ object, you will have to create a bean of zipkin2.reporter ZipkinRestTemplateCustomizer zipkinRestTemplateCustomizer) { RestTemplate restTemplate = mySuperCustomRestTemplate(); zipkinRestTemplateCustomizer.customize(restTemplate); - return new RestTemplateSender(restTemplate, zipkin.getBaseUrl(), zipkin.getEncoder()); + return myCustomSender(zipkin, restTemplate); }

11. Span Data as Messages

You can accumulate and send span data over Spring Cloud Stream by including the spring-cloud-sleuth-stream jar as a dependency, and diff --git a/1.3.x/spring-cloud-sleuth.xml b/1.3.x/spring-cloud-sleuth.xml index e381541c6..06f37c1a2 100644 --- a/1.3.x/spring-cloud-sleuth.xml +++ b/1.3.x/spring-cloud-sleuth.xml @@ -1336,7 +1336,7 @@ object, you will have to create a bean of zipkin2.reporter.Sender