OpenCensus Spring Sleuth

Build Status
Windows Build Status
Maven Central

The OpenCensus Spring Sleuth for Java is a library for automatically
propagating the OpenCensus trace context when working with Spring Sleuth.

This is an experimental component, please bring feedback to
https://gitter.im/census-instrumentation/Lobby not the usual
sleuth channel https://gitter.im/spring-cloud/spring-cloud-sleuth.

This version is compatible with Spring Boot 1.5.x.

Quickstart

Add the dependencies to your project

For Maven add to your pom.xml:
xml <dependencies> <dependency> <groupId>io.opencensus</groupId> <artifactId>opencensus-contrib-spring-sleuth</artifactId> <version>0.16.1</version> <exclusions> <exclusion> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-build</artifactId> </exclusion> <exclusion> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId> </exclusion> </exclusions> </dependency> </dependencies>

For Gradle add to your dependencies:
gradle compile 'io.opencensus:opencensus-contrib-spring-sleuth:0.16.1'