Part VII. Spring Cloud Sleuth46. Introduction
Spring Cloud Sleuth provides a distributed tracking solution for Spring Cloud
46.1 terminology
Spring Cloud Sleuth borrowed the terms of dapper
Span: The basic unit of work. For example, initiating an RPC is a new span, and receiving an RPC response is also a span. Span is identified by a 64-bit ID, and in addition to the ID, span has other attributes, such as description, timestamp, and so on.
Trace: A series of spans presented in a tree-like structure
Alas! Look directly at the code!
In this example, 4 projects are used: Eureka-demo, Zipkin-demo, Zuul-demo, Order-service
First, Zipkin-demo
Next, change the Zuul-demo.
Finally, Order-service
View Tracking Results
Reference
http://blog.csdn.net/ztx114/article/details/78076560
http://blog.csdn.net/ruihin/article/details/77714644
http://blog.csdn.net/u010257992/article/details/52474639
Springcloud Study Notes (7)--sleuth