You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
src | 4 months ago | |
README.md | 4 months ago | |
build.gradle | 4 months ago |
README.md
OpenCensus Spring Sleuth
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
:
<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:
compile 'io.opencensus:opencensus-contrib-spring-sleuth:0.16.1'