Spring Cloud Sleuth is a distributed tracing tool for Spring Cloud. It borrow from Dapper, Zipkin and HTrace.
This Demo application shows Sleuth's distributed tracing capability.
- Clone the respository using the command
git clone https://github.com/dhaval24/Sleuth-Demo.git
- Set up Zipkins by following this guided lab.
- Start the Greeting-Rest-Service by
cd Greeting-Rest-Service
and runmvnw spring-boot:run
- Start the Greeting-Rest-Conspumption-Service by
cd Greeting-Rest-Conspumption-Service
and runmvnw spring-boot:run
- Hit some url's by using the following command
curl http://localhost:8082/greetingscaller
- View the traces on Local Zipkins