Recording Program's Execution
Explore the concept of distributed tracing to record and analyze program execution across multiple applications. Understand how correlation identifiers help link logs from different systems to diagnose issues and measure performance. This lesson covers basic tracing methods, challenges of collating traces, and tools like OpenTracing and Zipkin to implement distributed tracing in complex systems.
We'll cover the following...
Tracing refers to the particular use of logging to record information about a program’s execution, used for troubleshooting or diagnostic purposes.
Achieving tracing
We can achieve tracing in its simplest form by associating every request to the program with a unique identifier and recording logs for the most important operations of the program alongside the request identifier.
In this way, when we try to diagnose a specific customer issue, the logs can easily be filtered down to only include a chronologically ordered ...