Skip to content
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

Could the extension itself time out? #7

Open
vyiu opened this issue Jul 27, 2023 · 1 comment
Open

Could the extension itself time out? #7

vyiu opened this issue Jul 27, 2023 · 1 comment

Comments

@vyiu
Copy link

vyiu commented Jul 27, 2023

Could the extension itself potentially time out, causing it to be unable to provide the timeout metric of the Lambda function it is tracing? I haven't encountered this yet, just wanted to double-check. Thanks.

@saartochner-lumigo
Copy link
Contributor

Yes, though unlikely.
The extension gets 2 seconds to finalize its logic in the SHUTDOWN phase (https://lumigo.io/blog/aws-lambda-extensions-what-are-they-and-why-do-they-matter/).
In theory, if your shipping target is exceptionally slow, then it might happen.

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

No branches or pull requests

2 participants