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
From the course: DevOps Foundations: Distributed Tracing
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Configuring the Zipkin tracer2m 29s
-
(Locked)
Tracing app code5m 24s
-
(Locked)
Seeing the app trace in the Zipkin UI2m 2s
-
(Locked)
Adding metadata to your traces2m 37s
-
(Locked)
Seeing the tags and error event in the Zipkin UI1m 44s
-
(Locked)
Tracing database calls with Zipkin2m 50s
-
(Locked)
Seeing the database traces in the Zipkin UI1m 22s
-
(Locked)
Tracing message queue calls2m 17s
-
(Locked)
Seeing the message queue traces in the Zipkin UI1m 11s
-
(Locked)
Tracing web calls server-side1m 43s
-
(Locked)
Seeing web service traces in the Zipkin UI2m 9s
-
(Locked)
Tracing web calls end-to-end3m 37s
-
(Locked)
Seeing the whole picture1m 10s
-
(Locked)
-
-
-