tezvyn:

Distributed tracing for serverless apps

Source: interviewintermediate

WHAT IT TESTS: end-to-end observability. OUTLINE: propagate a trace context through every hop, instrument with OpenTelemetry or X-Ray, capture spans including the database, and correlate traces with structured logs. RED FLAG: per-service logs, no correlation.

WHAT IT TESTS: whether you can follow one request across many serverless hops. ANSWER OUTLINE: generate a trace ID at the edge and propagate it through the API gateway, each function, and downstream calls so spans link into one trace; instrument with OpenTelemetry or X-Ray to capture timing per hop including database queries; emit structured logs carrying the same trace and correlation IDs; combine traces, metrics, and logs to find the slow span. RED FLAG: isolated per-service logs with no shared correlation ID.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Distributed tracing for serverless apps · Tezvyn