本文共 431 字,大约阅读时间需要 1 分钟。
1.添加pom依赖
org.springframework.cloud spring-cloud-starter-sleuth org.springframework.cloud spring-cloud-starter-zipkin
2.添加配置
spring: sleuth: web: enabled: true sampler: probability: 1.0 zipkin: base-url: http://x.x.x.x:9411
3.安装zipkin
官网地址:
quickstart:
4.微服务启动发起服务间调用后进入控制台:
转载地址:http://qbwmf.baihongyu.com/