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 server-side
From the course: DevOps Foundations: Distributed Tracing
Tracing web calls server-side
- [Instructor] In our backend class we configured several spring web services to show how we can create our own spans or instruments database or message queue frameworks. Let's set up instrumentation for the API query DB and put MQ web service controllers. Tracing is configured for web services through Servlet interceptors. So notice here in the tracing configuration class I have commented out our place where we register the server interceptor. So to get things working I'll remove the comments. So now our tracing interceptors will automatically instrument the web controllers. In addition, in the initializer class we are also delegating tracing filter which we'll also need to enable. So again I'll remove the comments here. Now with those two changes we'll automatically instrument any Servlet controller. So if you look at our backend service where we have our application logic, notice that I didn't really have to make any changes to instrument this web instrumentation for the server…
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)
-
-
-