arabold / serverless-sentry-lib

MIT License
32 stars 15 forks source link

Idea: Integration with new AWS Lambda Extensions #30

Open jaggr2 opened 4 years ago

jaggr2 commented 4 years ago

See https://aws.amazon.com/about-aws/whats-new/2020/10/aws-lambda-extensions-integrate-operational-tools/

With this new feature, we could create an AWS Lambda Layer which hooks into Lambda lifecycle events. This way it should be possible to add this great library by just adding a layer to the lambda and configuring the environment variables without the need to wrap existing code :)

What do you think about? Do you see any obstacles?

webjunkie commented 2 years ago

How would this compare to the layer that Sentry themselves already provide?