Chapter 4: Distributed Tracing – Tracing Code Execution
So, now that we have an understanding of the concepts of OpenTelemetry and are familiar with the different signals it covers, it's time to start instrumenting application code. In Chapter 2, OpenTelemetry Signals – Tracing, Metrics, and Logging, we covered the terminology and concepts of those signals by looking at a system that was instrumented with OpenTelemetry. Now, it's time to get hands-on with some code to start generating telemetry ourselves, and to do this, we're going to first look at implementing a tracing signal.
In this chapter, we will cover the following topics:
- Configuring OpenTelemetry
- Generating tracing data
- Enriching the data with attributes, events, and links
- Adding ...
Get Cloud-Native Observability with OpenTelemetry now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.