Added a note for probability

This commit is contained in:
Marcin Grzejszczak
2018-03-11 09:23:52 +01:00
parent f50cee8eb3
commit e340c250b4

View File

@@ -87,6 +87,11 @@ there.
could set
`logging.level.org.springframework.web.servlet.DispatcherServlet=DEBUG`
> NOTE: If you use Zipkin, configure the probability of spans exported by
setting (for `2.0.x`) `spring.sleuth.sampler.probability` or
(up till `2.0.x`)`spring.sleuth.sampler.percentage` (default: 0.1, which is 10 percent).
Otherwise, you might think that Sleuth is not working be cause it omits some spans.
> NOTE: Set `spring.application.name=bar` (for instance) to see the
service name as well as the trace and span ids.