Traces stop at service B: you see spans from A, but B's spans start new traces. What is wrong?
BeginnerScenarioTracing and OpenTelemetry
Answer
Situation read → Context propagation is broken between A and B.
What I'd do →
- Check whether A sends the
traceparentheader: capture the request or log headers in B. - Ensure both use the same propagators (
OTEL_PROPAGATORS=tracecontext,baggage); a B3-only service will not read W3C headers. - Look for a proxy or gateway that strips unknown headers.
- For async paths (Kafka, SQS), check that the producer injects context into message headers and the consumer extracts it.
- Check for custom HTTP clients that bypass instrumentation.
Why → A trace is only as connected as its weakest propagation hop.
Interview tip → Mention mixed propagators (B3 and W3C) as a common cause in brownfield setups.
More on Tracing and OpenTelemetry
Your company has 30 microservices and no tracing. How do you roll out distributed tracing?IntermediateTracing every request costs too much. How do you design sampling?IntermediateYou set up tail sampling with 4 Collector replicas, but traces are fragmented and error traces are missing. Why?AdvancedA checkout request takes 4 seconds. Walk through how you use a trace to find the cause.BeginnerYour OpenTelemetry Collector is getting OOMKilled under load. How do you stabilise it?IntermediateHow do you trace a request that goes through Kafka from a producer to three consumers?Intermediate