Spring Sleuth can integrate with Zipkin to send trace/span data. Then use Zipkin server to search and view trace/span data. In this lab, integration is done via HTTP and configured to send 100% of trace data.
The Spring Cloud Zipkin server has been deprecated, so we will use the zipkin-server app from zipkin source itself. A fork of that repo was brought into this repo within the sub-directory zipkin-server. Minor updates were made so that the server would register with the Spring Cloud Discovery Server and a cloud foundry manifest was added.
Build the binary...
cd zipkin-server
mvn clean package -DskipTests
cd zipkin-server
cf push
- Log into the pivotal bank web and follow the user acceptance test
- Access the zipkin app, and search for recent spans
cd zipkin-server
java -jar target/zipkin.jar