Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

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 →

  1. Check whether A sends the traceparent header: capture the request or log headers in B.
  2. Ensure both use the same propagators (OTEL_PROPAGATORS=tracecontext,baggage); a B3-only service will not read W3C headers.
  3. Look for a proxy or gateway that strips unknown headers.
  4. For async paths (Kafka, SQS), check that the producer injects context into message headers and the consumer extracts it.
  5. 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.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry