Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

You need traces from AWS Lambda functions linked to traces from your EKS services. How?

IntermediateScenarioTracing and OpenTelemetry
Answer

Situation read → Serverless and containers must share context.

What I'd do →

  1. Use the AWS Distro for OpenTelemetry (ADOT) Lambda layer or OTel Lambda layers for your runtime.
  2. Export via OTLP to your central Collector (or to X-Ray if you use it).
  3. Ensure W3C propagation on both sides; configure X-Ray propagator if API Gateway/X-Ray headers are involved.
  4. Watch cold start overhead and flush spans before the function returns.

Why → Common OTLP and propagation format links both worlds into one trace.

Interview tip → Mention that unflushed spans are lost when the Lambda freezes.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry