Updated docs

This commit is contained in:
Marcin Grzejszczak
2016-03-10 12:13:00 +01:00
parent 651b4cfd79
commit 045bfc5317
3 changed files with 5 additions and 5 deletions

View File

@@ -330,7 +330,7 @@ Features from this section can be disabled by providing the `spring.sleuth.web.e
Via the `TraceFilter` all sampled incoming requests result in creation of a Span. That Span's name is `http:` + the path to which
the request was sent. E.g. if the request was sent to `/foo/bar` then the name will be `http:/foo/bar`. You can configure which URIs you would
like to skip via the `spring.sleuth.instrument.web.skipPattern` property. If you have `ManagementServerProperties` on classpath then
like to skip via the `spring.sleuth.web.skipPattern` property. If you have `ManagementServerProperties` on classpath then
its value of `contextPath` gets appended to the provided skip pattern.
==== Async Servlet support
@@ -343,12 +343,12 @@ If your controller returns a `Callable` or a `WebAsyncTask` Spring Cloud Sleuth
We're injecting a `RestTemplate` interceptor that ensures that all the tracing information is passed to the requests. Each time a
call is made a new Span is created. It gets closed upon receiving the response. In order to block the synchronous `RestTemplate` features
just set `spring.sleuth.client.enabled` to `false`.
just set `spring.sleuth.web.client.enabled` to `false`.
==== Asynchronous Rest Template
Custom instrumentation is set to create and close Spans upon sending and receiving requests. To block the `AsyncRestTemplate`
features set `spring.sleuth.async.client.enabled` to `false`.
features set `spring.sleuth.web.async.client.enabled` to `false`.
=== Feign

View File

@@ -39,7 +39,7 @@ import org.springframework.web.client.AsyncRestTemplate;
* @since 1.0.0
*/
@Configuration
@ConditionalOnProperty(value = "spring.sleuth.async.client.enabled", matchIfMissing = true)
@ConditionalOnProperty(value = "spring.sleuth.web.async.client.enabled", matchIfMissing = true)
@ConditionalOnClass(AsyncRestTemplate.class)
@ConditionalOnBean(SpanAccessor.class)
@AutoConfigureAfter(TraceAutoConfiguration.class)

View File

@@ -44,7 +44,7 @@ import org.springframework.web.client.RestTemplate;
* @since 1.0.0
*/
@Configuration
@ConditionalOnProperty(value = "spring.sleuth.client.enabled", matchIfMissing = true)
@ConditionalOnProperty(value = "spring.sleuth.web.client.enabled", matchIfMissing = true)
@ConditionalOnClass(RestTemplate.class)
@ConditionalOnBean(Tracer.class)
@AutoConfigureAfter(TraceAutoConfiguration.class)