Spring Cloud Sleuth 2.0.0 已发布,更新内容包括:
Rewritten using Brave #829 , migration guide https://github.com/spring-cloud/spring-cloud-sleuth/wiki/Spring-Cloud-Sleuth-2.0-Migration-Guide
Removed the sleuth-stream #555 and zipkin-stream #727 dependencies. Spans via messaging can be only sent to Zipkin via native Zipkin dependencies.
spring.zipkin.sender.type=kafka needs to explicitly be set to send spans over Kafka #985 , #1013
Added WebClient.Builder support #779
Trace tags account for parametrized URL #802
Added support for NettyClient instrumentation - allows instrumentation of Spring Cloud Gateway #806
Fixed all early bean initialization issues #870
Added spring-kafka support #896
Added spring-rabbitmq support #883
Added support for Apache HttpClient #685
Added OpenTracing support #599
Added support for AWS X-Ray #459
TraceKeys are hidden from the user and are deprecated #940
Added support for Dubbo #934
Spring Cloud Sleuth 是 Spring Cloud 的分布式追踪工具。
下载地址:
Source code (zip)
Source code (tar.gz)
Maven 地址:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth</artifactId>
<version>2.0.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
</dependencies>