From ef655267a86102c84d89b2b05be7d0cbce71ae9b Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 19 Aug 2016 15:07:06 +0200 Subject: [PATCH] Fixed a typo in docs --- docs/src/main/asciidoc/spring-cloud-sleuth.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc index f0ccc7bbe..d27edffc1 100644 --- a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc +++ b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc @@ -34,8 +34,8 @@ to Zipkin or Spring Cloud Stream, there is also an `AlwaysSampler` that exports everything and a `PercentageBasedSampler` that samples a 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 +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`. A sampler can be installed just by creating a bean definition, e.g: @@ -298,7 +298,7 @@ type `Spans`. === Zipkin Consumer -There is a special convenience annotation for setting up a message consumer +There is a special convenience annotation for setting up a message consumer for the Span data and pushing it into a Zipkin `SpanStore`. This application [source,java] @@ -485,7 +485,7 @@ wrap `ThreadPoolTaskScheduler` in a `TraceAsyncListenableTaskExecutor`). Example [source,java] ---- -include::../../../../spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/TraceWebAsyncClientAutoConfigurationTest.java[tags=async_template_factories,indent=0] +include::../../../../spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/TraceWebAsyncClientAutoConfigurationTests.java[tags=async_template_factories,indent=0] ---- To block the `AsyncRestTemplate` features set `spring.sleuth.web.async.client.enabled` to `false`. @@ -564,4 +564,4 @@ To disable Zuul support set the `spring.sleuth.zuul.enabled` property to `false` You can find the running examples deployed in the https://run.pivotal.io/[Pivotal Web Services]. Check them out in the following links: - http://docssleuth-zipkin-server.cfapps.io/[Zipkin for apps presented in the samples to the top] -- http://docsbrewing-zipkin-web.cfapps.io/[Zipkin for Brewery on PWS], its https://github.com/spring-cloud-samples/brewery[Github Code] \ No newline at end of file +- http://docsbrewing-zipkin-web.cfapps.io/[Zipkin for Brewery on PWS], its https://github.com/spring-cloud-samples/brewery[Github Code]