From fd3deea30e509a41fe0cc6a3d8f77b8509431d4f Mon Sep 17 00:00:00 2001 From: Kuba Marchwicki Date: Wed, 25 Sep 2019 14:32:52 +0200 Subject: [PATCH] Updating Zipkin settings (#1451) Correcting properties name to reflect the code: https://github.com/spring-cloud/spring-cloud-sleuth/blob/master/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/sampler/SamplerProperties.java#L36 --- docs/src/main/asciidoc/sagan-boot.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/sagan-boot.adoc b/docs/src/main/asciidoc/sagan-boot.adoc index d5df44364..78f677191 100644 --- a/docs/src/main/asciidoc/sagan-boot.adoc +++ b/docs/src/main/asciidoc/sagan-boot.adoc @@ -69,6 +69,6 @@ Run this app and then hit the home page. You will see traceId and spanId populat IMPORTANT: instead of logging the request in the handler explicitly, you could set `logging.level.org.springframework.web.servlet.DispatcherServlet=DEBUG` -IMPORTANT: If you use Zipkin (up till 2.1.x), configure the probability of spans exported by setting `spring.sleuth.sampler.percentage` (default: 0.1, which is 10 percent). Otherwise, you might think that Sleuth is not working because it omits some spans. Starting from 2.2.0, Sleuth will default to rate limited sampler. That means that it will sample up to 1000 transactions per second. +IMPORTANT: If you use Zipkin (up till 2.1.x), configure the probability of spans exported by setting `spring.sleuth.sampler.probability` (default: 0.1, which is 10 percent). Otherwise, you might think that Sleuth is not working because it omits some spans. Starting from 2.2.0, Sleuth will default to rate limited sampler. That means that it will sample up to 1000 transactions per second. -IMPORTANT: Set `spring.application.name=bar` (for instance) to see the service name as well as the trace and span ids. \ No newline at end of file +IMPORTANT: Set `spring.application.name=bar` (for instance) to see the service name as well as the trace and span ids.