Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 883 Bytes

File metadata and controls

17 lines (13 loc) · 883 Bytes

Log Tracing with Spring Cloud Sleuth

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

Companion Blog Article

The companion blog article to this repository can be found here.

Getting Started

This application is a service that's not facing the user (a "downstream" service), meaning that it is accessed by user-facing services so they can provide their functionality.

  1. Start this service with ./gradlew bootrun
  2. Start the downstream 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.