Files
getting-started/sleuth-downstream-service
2017-09-05 21:26:54 +02:00
..
2017-09-02 11:54:28 +02:00
2017-09-05 21:26:54 +02:00
2017-09-02 11:54:28 +02:00
2017-09-05 21:26:54 +02:00
2017-09-02 11:54:28 +02:00
2017-09-02 11:54:28 +02:00
2017-09-05 21:26:54 +02:00

Log Tracing with Spring Cloud Sleuth

This project shows how to implement tracing in a network of Spring Boot applications.

This application is a service facing the user (a "downstream" service), meaning that it accesses other upstream services to provide its functionality.

  1. Start the upstream service with ./gradlew bootrun
  2. Start this service with ./gradlew bootrun
  3. Open http://localhost:8080/customers-with-address/{id} where IDs from 1-50 are will return a valid HTTP 200 response and other IDs will return an error response.
  4. Look into the log files of both services and verify that both contain the same trace id.