How Distributed Tracing Really Works

It’s relatively simple these days to spin up an OpenTelemetry demo and / or auto-instrument services with OpenTelemetry.

That’s fine – when it works – but it’s when something breaks that perhaps you realise you don’t quite understand what’s going on u…


This content originally appeared on DEV Community and was authored by Adam Gardner

It's relatively simple these days to spin up an OpenTelemetry demo and / or auto-instrument services with OpenTelemetry.

That's fine - when it works - but it's when something breaks that perhaps you realise you don't quite understand what's going on under the covers. I've lost count of the number of times customers have reported "broken traces" to me as they flow through an uninstrumented tier, a load balancer or a queue.

In the following video I show precisely how distributed tracing using OpenTelemetry is able to do what it does (for HTTP) by spinning up two Python FastAPI applications, instrumenting them using OpenTelemetry and demonstrating that the traces are "broken" in Jaeger. Then I solve the issue (hint: it's all about propagation).

The code for all of this can be found here: https://github.com/agardnerIT/python-fastapi-requests-traceparent


This content originally appeared on DEV Community and was authored by Adam Gardner


Print Share Comment Cite Upload Translate Updates
APA

Adam Gardner | Sciencx (2025-10-21T20:31:32+00:00) How Distributed Tracing Really Works. Retrieved from https://www.scien.cx/2025/10/21/how-distributed-tracing-really-works/

MLA
" » How Distributed Tracing Really Works." Adam Gardner | Sciencx - Tuesday October 21, 2025, https://www.scien.cx/2025/10/21/how-distributed-tracing-really-works/
HARVARD
Adam Gardner | Sciencx Tuesday October 21, 2025 » How Distributed Tracing Really Works., viewed ,<https://www.scien.cx/2025/10/21/how-distributed-tracing-really-works/>
VANCOUVER
Adam Gardner | Sciencx - » How Distributed Tracing Really Works. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/10/21/how-distributed-tracing-really-works/
CHICAGO
" » How Distributed Tracing Really Works." Adam Gardner | Sciencx - Accessed . https://www.scien.cx/2025/10/21/how-distributed-tracing-really-works/
IEEE
" » How Distributed Tracing Really Works." Adam Gardner | Sciencx [Online]. Available: https://www.scien.cx/2025/10/21/how-distributed-tracing-really-works/. [Accessed: ]
rf:citation
» How Distributed Tracing Really Works | Adam Gardner | Sciencx | https://www.scien.cx/2025/10/21/how-distributed-tracing-really-works/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.