Missing Traces in Distributed Tracing
Diagnose why traces are incomplete or missing in Jaeger, Zipkin, or OpenTelemetry-based systems.
Overview
Overview
Distributed tracing is only valuable when traces are complete. A trace that shows three of seven service hops gives misleading latency attribution and can send you debugging the wrong service; the good news is that missing traces have a small number of root causes.
To see where a trace can break, follow the path it travels. A request enters the first service, and each service passes the trace context to the next in a traceparent header. Every service also hands its finished spans to the SDK's batch processor, which exports them to an OpenTelemetry (OTel) Collector, and the collector sends them on to a backend such as Jaeger, Zipkin or Tempo. A break at any hop or any stage leaves a hole in the trace.
Key concepts
- Head Sampling
- Tail Sampling
- Context Propagation
- traceparent
- zPages
Interview questions
- What is the difference between head sampling and tail sampling, and when should you use each?
- How do you debug context propagation breaks in a microservices tracing setup?
- What are the most common reasons spans are generated by the application but never appear in Jaeger or Zipkin?
Sign up free to read the full topic
More Troubleshooting topics
- JVM Garbage Collection Pauses
- Kubernetes Service Not Reachable
- Lambda Cold Start Latency
- Log Volume Explosion and Cost Runaway
- Memory Leak Diagnosis
- Metrics Gaps in Dashboards
- Multi-Region High Latency
- NAT Gateway Bandwidth and Throttling
- Network Bandwidth Saturation
- OOMKilled Pod Diagnosis
- Packet Loss and Network Degradation
- Pods Stuck Pending
Start free on Cariara · Coding problems · System design studio