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

Tracing web calls end-to-end

From the course: DevOps Foundations: Distributed Tracing

Start my 1-month free trial

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…

Contents