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

[Serverless] Need more details on Lambda layer setup #3233

Closed
ffxsam opened this issue Feb 3, 2021 · 9 comments
Closed

[Serverless] Need more details on Lambda layer setup #3233

ffxsam opened this issue Feb 3, 2021 · 9 comments
Labels
Package: serverless Issues related to the Sentry Serverless SDK Type: Documentation Type: Improvement

Comments

@ffxsam
Copy link

ffxsam commented Feb 3, 2021

Regarding this: https://github.com/getsentry/sentry-javascript/blob/36463ce490a8e2a1f56de58de625b9c8acd9e423/packages/serverless/README.md#integrate-sentry-using-internal-extension

This isn't very clear. What exactly do we bundle & upload to the Lambda layer we need to add to the Lambda function? Some steps on how to package that up would be helpful.

@p0wl
Copy link

p0wl commented Feb 26, 2021

Hey, any information about this? It is very hard to find any information about using the sentry layer, but it sounds awesome!

@ffxsam
Copy link
Author

ffxsam commented Feb 28, 2021

@kamilogorek Can you offer any guidance here?

@TomBeckett
Copy link

TomBeckett commented Mar 7, 2021

In theory you only need to add your layer to your existing functions see: https://docs.sentry.io/platforms/node/guides/aws-lambda/layer/

But please note: we've had to take this out of our functions due to an ongoing bug: #3051

@ffxsam
Copy link
Author

ffxsam commented Mar 8, 2021

Ah, thanks! I see there's a specific ARN they give you based on your region. It wouldn't work for us anyway, since we're using webpack, although I'm sure it's possible to tell webpack to ignore the dependency.

@p0wl
Copy link

p0wl commented Mar 16, 2021

Okay, I added it successfully, but I still would love to see what is included in the layer? E.g. why is it now version 9? (arn:aws:lambda:eu-central-1:943013980633:layer:SentryNodeServerlessSDK:9)

@noobling
Copy link

noobling commented May 27, 2021

Found more info here... there should really link this in the quickstart. Most of the time people using a quickstart have no idea how the product works.. https://docs.sentry.io/product/integrations/aws-lambda/how-it-works/

@connorads
Copy link

Here's another docs page that shoes how to install the lambda layer via the AWS Console or using Serverless Framework
https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/

@ffxsam
Copy link
Author

ffxsam commented Jul 25, 2021

Documentation still seems slim. For instance, how do we communicate the release to Sentry when it's used as a layer?

@github-actions
Copy link
Contributor

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: serverless Issues related to the Sentry Serverless SDK Type: Documentation Type: Improvement
Projects
None yet
Development

No branches or pull requests

6 participants