Integrating Sentry for error tracking

I have used Sentry for many years and highly recommend it. It has a vast feature set and many prominent companies use the service. Sentry's free plan gives you 10,000 events per month, a single login, and a seven-day history of quickly. Whether it's for a hobby project or even a medium-scale production system, this free plan works out quite well.

To integrate Sentry with your serverless function, you'll, of course, need a Sentry account. Following is a code block for an elementary AWS Lambda function. All it will do is calculate the quotient of two numbers. Our goal is to ensure that any unhandled exceptions are captured and reported somewhere so that we have visibility into what our application is doing ...

Get Serverless Design Patterns and Best Practices now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.