At Lead Bank, synchronous OpenTelemetry telemetry flushing in AWS Lambda caused intermittent exporter stalls to become user-facing 504 gateway timeouts. The solution uses the AWS Lambda Extensions API to defer telemetry flushing off the response path. By registering an internal extension and using goroutine chaining in Go, the

16m read timeFrom infoq.com
Post cover image
Table of contents
ContextLambda's Extension APIInitial Approach and Failure Under Warm ReuseRevised DesignValidation and ResultsWhen to Use This PatternLessons learnedConclusionAbout the Author

Sort: