微服务链路追踪
软件链接: 网盘下载
提取码:0103
在需要监控的服务添加如下配置
yml配置
spring:
zipkin:
base-url: http://localhost:9411
service:
name: xxxx
maven依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
<version>1.1.2.RELEASE</version>
</dependency>
<!-- Zipkin 依赖 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zipkin</artifactId>
<version>1.1.2.RELEASE</version>
</dependency>