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 →
- Use the AWS Distro for OpenTelemetry (ADOT) Lambda layer or OTel Lambda layers for your runtime.
- Export via OTLP to your central Collector (or to X-Ray if you use it).
- Ensure W3C propagation on both sides; configure X-Ray propagator if API Gateway/X-Ray headers are involved.
- 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.
More on Tracing and OpenTelemetry
Your company has 30 microservices and no tracing. How do you roll out distributed tracing?IntermediateTraces stop at service B: you see spans from A, but B's spans start new traces. What is wrong?BeginnerTracing 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?Intermediate