Note: this is under an active development!
This repository provides OpenTracing instrumentation for Spring Cloud. It can be used with any OpenTracing compatible implementation.
It contains auto-configurations for Spring Boot which will instrument and trace several Spring Cloud frameworks:
- Spring Web
- Feign, HystrixFeign
Just add the following dependency in your pom.xml:
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-spring-cloud-starter</artifactId>
</dependency>
, and provide OpenTracing tracer bean:
@Bean
public io.opnetracing.Tracer tracer() {
return new // tracer instance of your choice (Zipkin, Jaeger, LightStep)
}
./mvnw clean install
Follow instructions in RELEASE