-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improve AWS Lambda experience #12409
Comments
Not sure if you're already tracking this or what, but fwiw it looks like switching to Something else I find telling is that installing The lambdas themselves are typescript based, compiled with |
@G-Rath the increase in dependencies and size is caused by us switching to OpenTelemetry for instrumentation. By default, the our AWS Serverless SDK does not include performance instrumentation (e.g. for databases like postgres). However, if you only use Have you looked into bundlers like That being said, I have never heard of |
…idn't wrap handler (#12407) Fix span collision by checking if the AWS lambda handler was already wrapped by Otel instrumentation and only if not starting our own root span. The rest of our handler is still being used (i.e. the flushing logic, error capturing, etc) regardless of otel wrapping. Also Adjusted E2E tests to: - more closely resemble the AWS environment - enable auto patching of the handler with the Sentry SDK handler - better check for Otel and manual spans Ref #12409
…idn't wrap handler (#12407) Fix span collision by checking if the AWS lambda handler was already wrapped by Otel instrumentation and only if not starting our own root span. The rest of our handler is still being used (i.e. the flushing logic, error capturing, etc) regardless of otel wrapping. Also Adjusted E2E tests to: - more closely resemble the AWS environment - enable auto patching of the handler with the Sentry SDK handler - better check for Otel and manual spans Ref #12409
@Lms24 thanks for following up so quickly, and sorry for my delay in responding. You're right that neither
(on an aside, it's a great way to get that "eehhh wat" feeling as you go through the list of file extensions in your |
I'm going to close this issue as the immediate work, including the docs update, was completed. We're tracking #12856 separately to further improve ESM support. |
I investigated AWS lambda support in the last couple of days and found multiple issues we should tackle to improve the SDK/Usage experience with our
@sentry/aws-serverless
SDK and AWS Lambda layer:General AWS Lambda Support
awslambda-auto
#12392op
to Otel-generated lambda function root span #12430ESM Lambda Support
ESM Lambda Layer
The text was updated successfully, but these errors were encountered: