Skip to content

feat(instrumentation-aws-lambda): support streaming handlers #2970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msonnb
Copy link

@msonnb msonnb commented Aug 4, 2025

Which problem is this PR solving?

Fixes #2827

Short description of the changes

Adds support for AWS Lambda streaming handlers by checking if the handler has the special aws.lambda.runtime.handler.streaming symbol.

@msonnb msonnb requested a review from a team as a code owner August 4, 2025 09:18
Copy link

linux-foundation-easycla bot commented Aug 4, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: msonnb / name: Martin Sonnberger (74ab471)

@github-actions github-actions bot requested a review from jj22ee August 4, 2025 09:18
@msonnb msonnb changed the title feat(instrumentation-aws-lamda): support streaming handlers feat(instrumentation-aws-lambda): support streaming handlers Aug 4, 2025
this._endSpan(span, undefined, () => resolve(value))
);
},
(err: Error | string) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional that the promise fails silently in this scenario?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS Lambda Instrumentation causes lambda failures when using streaming response
3 participants