diff --git a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc index 84bb0b7db..0b2d00f1a 100644 --- a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc +++ b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc @@ -38,7 +38,9 @@ fixed fraction of spans. NOTE: the `PercentageBasedSampler` is the default if you are using `spring-cloud-sleuth-zipkin` or `spring-cloud-sleuth-stream`. You can -configure the exports using `spring.sleuth.sampler.percentage`. +configure the exports using `spring.sleuth.sampler.percentage`. The passed +value needs to be a double from `0.0` to `1.0` so it's not a percentage. +For backwards compatibility reasons we're not changing the property name. A sampler can be installed just by creating a bean definition, e.g: