Analyze data with the Zipkin UI

Let's go back for a moment to our example system. As I have mentioned before, the new zipkin-service module has been added. I have also enabled Zipkin tracing for all the microservices, including gateway-service.  By default, Sleuth takes the value spring.application.name as a span's service name. You may override that name with the spring.zipkin.service.name property.

To successfully test our system with Zipkin, we have to start the microservices, gateway, discovery, and Zipkin servers. To generate and send some test data, you could just run the JUnit test implemented by the pl.piomin.services.gateway.GatewayControllerTest class. It sends 100 messages to order-service via gateway-service, available at http://localhost:8080/api/order/** ...

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.