Company
Date Published
Author
AJ Jindal
Word count
541
Language
English
Hacker News points
None

Summary

May 24, 2021SDK UpdatesNo-code AWS Lambda MonitoringAJ JindalAuto-instrumenting AWS Lambda Monitoring began as a hackathon project to address the tediousness of manual code instrumentation for hundreds of AWS Lambda functions. The growth team used Amazon CloudWatch and AWS Kinesis Data Firehose to create a prototype that could instrument AWS Lambda functions, but they later realized the logs were not grouped into issues or formatted to pull out stack traces like Sentry's representation. Instead, they used AWS Lambda Extensions with Sentry's AWS Lambda Layers, environment variables, and code wrapping to ensure real-time issue reporting and formatted stack traces. This approach allowed developers to control instrumentation, toggle function instrumentation on the fly, and even made Sentry a more accessible tool for no-code monitoring of AWS Lambda functions, earning the company an AWS Partner designation and support from AWS itself.