Summary
In this chapter, we talked about tracing instrumentation. We discussed common tasks that need to be addressed by the instrumentation, from simple annotations to in-process context propagation, to using inject/extract trace points to transfer distributed context across processes.
We took a brief detour and looked at using the baggage API for passing additional metadata alongside the distributed call graph.
We finished with a review of using off-the-shelf open source instrumentation for popular libraries, which can be applied with minimal changes to your application, from a few lines of code to literally zero changes. Best of all, all the instrumentation we reviewed was completely vendor-agnostic. We used it with Jaeger tracers, but they can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access