Fixed a typo in docs
This commit is contained in:
@@ -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]
|
||||
- http://docsbrewing-zipkin-web.cfapps.io/[Zipkin for Brewery on PWS], its https://github.com/spring-cloud-samples/brewery[Github Code]
|
||||
|
||||
Reference in New Issue
Block a user