Fixed Feign integration

This commit is contained in:
Marcin Grzejszczak
2016-03-07 11:18:45 +01:00
parent 1043fd83c1
commit 19249cdc23
16 changed files with 726 additions and 181 deletions

View File

@@ -269,4 +269,14 @@ Currently Spring Cloud Sleuth registers very simple metrics related to spans.
It's using the http://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-metrics.html#production-ready-recording-metrics[Spring Boot's metrics support]
to calculate the number of accepted and dropped spans. Each time a span gets
sent to Zipkin the number of accepted spans will increase. If there's an error then
the number of dropped spans will get increased.
the number of dropped spans will get increased.
== Integrations
=== Feign
By default Spring Cloud Sleuth provides integration with feign via the `TraceFeignClientAutoConfiguration`. You can disable it
by setting `spring.sleuth.feign.enabled` to false.
We're taking care of Feign instrumentation by means of a `FeignBeanPostProcessor`.
You can disable the post processor by providing the `spring.sleuth.feign.processor.enabled` equal to `false`.