Distributed tracing in a microservice environment

less than 1 minute read

Feign Rest Client https://cloud.spring.io/spring-cloud-sleuth/reference/html/#feign

By default, Spring Cloud Sleuth provides integration with Feign through TraceFeignClientAutoConfiguration. You can disable it entirely by setting spring.sleuth.feign.enabled to false. If you do so, no Feign-related instrumentation take place.

Part of Feign instrumentation is done through a FeignBeanPostProcessor. You can disable it by setting spring.sleuth.feign.processor.enabled to false. If you set it to false, Spring Cloud Sleuth does not instrument any of your custom Feign components. However, all the default instrumentation is still there.

References

Distributed tracing support in NewRelic

References

Updated:

Comments