From the course: DevOps Foundations: Distributed Tracing
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Seeing the database traces in the Zipkin UI
From the course: DevOps Foundations: Distributed Tracing
Seeing the database traces in the Zipkin UI
- [Instructor] Now that we have our database calls instrumented, let's take a look at how traces are produced in Zipkin. The first thing is I'll restage the app, because we made some changes to the code. So I'll stop the currently running backend instance. And again, I'll restart the app again. Okay, the app is running. Now I'm going to generate a request against the QueryDB endpoint. In the previous example, querying the API endpoint, and now we're just going to change that to querydb. Okay, the service executed, and now I'm going to search the Zipkin UI to see what that new trace looks like. And again, it takes a few seconds for the traces to propagate, so I'll give it a few moments. Okay, now notice there is a new trace, well actually, a couple of traces that contain our queries. So I can take a look here. So this is what the spam looks like. It contains, again, spam though is automatically created based on the query that we ran. So you can see actually the SQL query and so forth.
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)
-
-
-