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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.