Monitoring your AWS Lambda functions inside and out
Blog post from New Relic
AWS Lambda is a serverless compute service that allows users to run code in response to events without managing servers, and it can be effectively monitored using New Relic through serverless monitoring and synthetic testing. The process involves creating an AWS Lambda function, deploying it using the serverless.com CLI, and configuring monitoring with New Relic's Serverless framework plugin and Lambda monitoring Nerdlet. Detailed steps include setting up a FastAPI application to handle HTTP GET requests and generate UUIDs, deploying it to AWS Lambda, and using New Relic’s tools to monitor performance metrics and handle errors. Synthetic monitors can simulate traffic to test the application's response, ensuring it meets expected performance standards even when no exceptions are raised. The integration of monitoring tools with AWS Lambda provides comprehensive insights into the function's health and performance, enabling the creation of alerts based on specific criteria.