Skip to content

Padrig/lambda-sentry-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trying our Sentry SDK on AWS Lambda Python

Demonstrate how to get Sentry to work with AWS Lambda

Learnings

  • Lambdas sometimes get killed before Sentry request is made
  • AwsLambdaIntegration adds blocking calls
  • sentry_sdk should be initialized outside the handler
npm install -g serverless
python -m venv venv
source venv/bin/activate #mac, linux
venv/Scripts/activate #windows
npm install

sls deploy

sls deploy -f hello
sls invoke -f hello --log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages