Clivern
π° πππππ πππ π΄πππππππ πππ πΎπππππππππ ππππππ.
24 September 2024
Distributed Tracing is a technique to keep track of requests as they flow from the frontend layers through a complex distributed backend systems, Mainly those built in a microservices architecture.
Trace ID. This Trace ID remains with the request throughout its lifecycle across multiple distributed services.spans, which are individual units of work representing operations performed during the requestβs journey. Each span includes:
Trace ID. This allows for the reconstruction of the entire request flow, enabling developers to see how requests interact with various services and where delays or errors occurHere is a diagram explaining the above steps

Trace ID: A unique identifier that ties together all spans associated with a single request.Trace: A tree of spans that shows the path that a request makes through an app. The root span is the first span in a trace.Span: Represent individual operations within a trace, capturing details about each step taken by the system.Instrumentation: The process of modifying application code to generate tracing data. frameworks like OpenTelemetry facilitate this.