Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
build.gradle | 22-Oct-2020 | 536 | |
README.md | 22-Oct-2020 | 2K | |
src/ | 22-Oct-2020 |
1 # OpenCensus Spring Sleuth 2 [![Build Status][travis-image]][travis-url] 3 [![Windows Build Status][appveyor-image]][appveyor-url] 4 [![Maven Central][maven-image]][maven-url] 5 6 The *OpenCensus Spring Sleuth for Java* is a library for automatically 7 propagating the OpenCensus trace context when working with [Spring Sleuth][spring-sleuth-url]. 8 9 This is an __experimental component__, please bring feedback to 10 https://gitter.im/census-instrumentation/Lobby not the usual 11 sleuth channel https://gitter.im/spring-cloud/spring-cloud-sleuth. 12 13 This version is compatible with [Spring Boot 1.5.x][spring-boot-1.5-url]. 14 15 ## Quickstart 16 17 ### Add the dependencies to your project 18 19 For Maven add to your `pom.xml`: 20 ```xml 21 <dependencies> 22 <dependency> 23 <groupId>io.opencensus</groupId> 24 <artifactId>opencensus-contrib-spring-sleuth</artifactId> 25 <version>0.16.1</version> 26 <exclusions> 27 <exclusion> 28 <groupId>org.springframework.cloud</groupId> 29 <artifactId>spring-cloud-build</artifactId> 30 </exclusion> 31 <exclusion> 32 <groupId>org.springframework.cloud</groupId> 33 <artifactId>spring-cloud-starter-sleuth</artifactId> 34 </exclusion> 35 </exclusions> 36 </dependency> 37 </dependencies> 38 ``` 39 40 For Gradle add to your dependencies: 41 ```gradle 42 compile 'io.opencensus:opencensus-contrib-spring-sleuth:0.16.1' 43 ``` 44 45 [travis-image]: https://travis-ci.org/census-instrumentation/opencensus-java.svg?branch=master 46 [travis-url]: https://travis-ci.org/census-instrumentation/opencensus-java 47 [appveyor-image]: https://ci.appveyor.com/api/projects/status/hxthmpkxar4jq4be/branch/master?svg=true 48 [appveyor-url]: https://ci.appveyor.com/project/opencensusjavateam/opencensus-java/branch/master 49 [maven-image]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-spring-sleuth/badge.svg 50 [maven-url]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-spring-sleuth 51 [spring-boot-1.5-url]: https://github.com/spring-projects/spring-boot/tree/1.5.x 52 [spring-sleuth-url]: https://github.com/spring-cloud/spring-cloud-sleuth 53