Interview Prep/Monitoring & Observability/Tracing, OpenTelemetry and CloudWatch

Traces show only the frontend span; downstream services start new traces

IntermediateTroubleshootingTracing, OpenTelemetry and CloudWatch
Answer

Likely causes → Broken context propagation: the traceparent header isn't forwarded (custom HTTP client, message queue, async thread pool), or services use different propagators (W3C vs B3).

Diagnose → Log incoming headers in the downstream service, or curl -v through the chain; check OTEL_PROPAGATORS on each service.

Fix → Use instrumented clients (auto-instrumentation), set OTEL_PROPAGATORS=tracecontext,baggage (add b3 where legacy services need it), inject/extract context manually for queues (message headers).

Prevent → A contract test that asserts trace IDs are continuous across services.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing, OpenTelemetry and CloudWatch