Skip to Content
Mastering Spring Cloud
book

Mastering Spring Cloud

by Piotr Mińkowski
April 2018
Intermediate to advanced content levelIntermediate to advanced
432 pages
10h 38m
English
Packt Publishing
Content preview from Mastering Spring Cloud

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/** ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microservices with Spring Boot and Spring Cloud - Second Edition

Microservices with Spring Boot and Spring Cloud - Second Edition

Magnus Larsson

Publisher Resources

ISBN: 9781788475433Supplemental Content