Spring Cloud Sleuth入门

1、下载并运行zipkin
https://github.com/openzipkin/docker-zipkin

sudo ./docker-compose up

2、运行示例程序,并触发对应方法

spring-cloud-sleuth-sample-zipkin(需要Zipkin)
或者
spring-cloud-sleuth-sample-stream(需要RabbitMQ+Zipkin)

3、查看运行情况
http://localhost:9411

Comments are closed.