Meet Sauron,Realtime AWS lambda error logging

Our error handling pipeline is designed for resilience and efficiency. Leveraging the power of AWS Lambda, we process errors asynchronously, minimising the impact on core application performance. CloudWatch Logs provide a centralized repository for all logs, enabling comprehensive analysis and debugging. A subscription filter ensures that only relevant errors are routed to the error handling Lambda, reducing noise and optimising processing. The error channel ensures that error notifications are delivered reliably to Sauron, enabling rapid response and resolution. DynamoDB provides persistent storage for errors designated to be silenced, allowing for auditing and historical analysis while preventing these specific errors from triggering immediate alerts. This provides a complete picture of system health without overwhelming the team with notifications for known or non-critical issues.
Pull the Sauron Repo 🔗 from GitHub and follow the instructions to deploy it to your AWS account. The Serverless Framework stack includes the error handling Lambda, and DynamoDB table.


The Sauron SDK 🔗 is a lightweight, easy-to-use library that integrates seamlessly with your existing serverless applications. Simply install the SDK, configure the client, and register your error logging functions. The SDK will automatically forward all logs to the Sauron error handling pipeline, enabling real-time error detection and notification.

Using the same Sauron Repo 🔗, you can run a local instance of the Sauron dashboard to manage error suppressions. The dashboard provides a user-friendly interface for viewing and specifying which errors should not be sent to the Slack error channel.

