From the course: DevOps Foundations: Distributed Tracing

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Seeing the app trace in the Zipkin UI

Seeing the app trace in the Zipkin UI

From the course: DevOps Foundations: Distributed Tracing

Start my 1-month free trial

Seeing the app trace in the Zipkin UI

- [Instructor] We have our backend API service instrumentor now and now let's rebuild the app and generate a request to see how a trace would look like in the Zipkin UI. So next I will start the backend service. I'm invoking Maven which will essentially rebuild the app. We'll run a local Jetty instance and I'm going to start the backend services. Okay our service rebuilt successfully and it's running. Next I'll generate a quick request to test our app. So here I'll run a Curl command that will generate a request against our service. And our backend service is running on port 9000 and I'm calling the API endpoint. And I'll pass the username prompter as a header. It's user dash name. Okay our service responded. So now this point since we're tracing the API call we should see a trace with two spans in the Zipkin UI. So let's go back to the browser and take a look at the Zipkin UI. Here we are. And it might take just a couple of seconds for the span to be reported, again we're using…

Contents