Add tip in case of using spring-cloud-sleuth-stream and spring-cloud-netflix-hystrix-stream (#482)

* Add tip in case of

spring-cloud-sleuth-stream and spring-cloud-netflix-hystrix-stream
This commit is contained in:
Toshiaki Maki
2016-12-27 16:50:34 +09:00
committed by Marcin Grzejszczak
parent b0533f7a60
commit 6c99c73bd7

View File

@@ -534,6 +534,8 @@ If you want to skip Span creation for some `@Scheduled` annotated classes you ca
`spring.sleuth.scheduled.skipPattern` with a regular expression that will match the fully qualified name of the
`@Scheduled` annotated class.
TIP: If you are using `spring-cloud-sleuth-stream` and `spring-cloud-netflix-hystrix-stream` together, Span will be created for each Hystrix metrics and sent to Zipkin. This may be annoying. You can prevent this by setting `spring.sleuth.scheduled.skipPattern=org.springframework.cloud.netflix.hystrix.stream.HystrixStreamTask`
==== Executor, ExecutorService and ScheduledExecutorService
We're providing `LazyTraceExecutor`, `TraceableExecutorService` and `TraceableScheduledExecutorService`. Those implementations