Trying out distributed tracing
With the necessary changes to the source code in place, we can try out distributed tracing. We will do this by performing the following steps:
- Build, start, and verify the system landscape.
- Send a successful API request and see what trace information we can find in Zipkin related to this API request.
- Send an unsuccessful API request and see what error information we can find.
- Send a successful API request that triggers asynchronous processing and see how its trace information is represented.
We will discuss these steps in detail in the upcoming sections.
Starting up the system landscape
Let’s start up the system landscape. Build the Docker images with the following commands:
cd $BOOK_HOME/Chapter14
./gradlew build && docker-compose build
Start the system landscape in Docker and run the usual tests with the following command:
./test-em-all.bash start
Before we can call the...