Collecting metrics with Zipkin

We have configured our Zipkin server in the previous chapter. Now we will use this server to analyze our microservices data. Let's do it.

Make some calls to create a flight. The Create Flight API will call the Auth Service and the Flight Service. Look at the following diagram:

We will take a look at the flights microservice and the planes microservice communications. Let's analyze it:

Go to the Zipkin main page, http://localhost:9999/, select flights, and then click on Find a trace. The page should look like this:

As we can see, there is some data on our Zipkin server. Click on Span, which has the flights and ...

Get Spring 5.0 By Example 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.