dhaval24 / Sleuth-Demo

This repository shows distributed tracing capability of Sleuth (A Distributed tracing Library for Spring applications)

Repository from Github https://github.comdhaval24/Sleuth-DemoRepository from Github https://github.comdhaval24/Sleuth-Demo

Distributed Tracing Using Spring-Cloud-Sleuth

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.

How to use the demo application

  1. Clone the respository using the command git clone https://github.com/dhaval24/Sleuth-Demo.git
  2. Set up Zipkins by following this guided lab.
  3. Start the Greeting-Rest-Service by cd Greeting-Rest-Service and run mvnw spring-boot:run
  4. Start the Greeting-Rest-Conspumption-Service by cd Greeting-Rest-Conspumption-Service and run mvnw spring-boot:run
  5. Hit some url's by using the following command curl http://localhost:8082/greetingscaller
  6. View the traces on Local Zipkins

About

This repository shows distributed tracing capability of Sleuth (A Distributed tracing Library for Spring applications)

License:Apache License 2.0


Languages

Language:Java 100.0%