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.
Tracing web calls end-to-end
From the course: DevOps Foundations: Distributed Tracing
Tracing web calls end-to-end
- [Instructor] Okay, great. We have the web service controller layer spanned, but how do we connect the chain of distributed web calls in a single trace? Zipkin tracers can be configured to wrap the HTTP client and use a b3 header propagation protocol to associate the client and web service calls automatically. In the application called on the front end root web service, we'll make three calls with the rest template to the backend services we configured in the previous videos. Those services are currently added to a array, and now we can write a little bit of code to make calls to these backend services. So in this section here, I'm iterating through the end points, and again, here's where we're we're going to invoke the client calls to the backend. We're using a rest template to make these calls. And again, I'm just going to create a response object here, the rest template. Call will generate a request to one of our backend servers. Exchange, and again, this is where I'm going to…
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)
-
-
-