serverless-snippets
serverless-snippets copied to clipboard
Including lambda log insights duration
Issue #, if available: NA
Description of changes: This is a serverlessland snippet that provides a CloudWatch log insights query to list out the Lambda function invocations that resulted in duration higher than the defined threshold. This is useful when the customers needs to find the invocation that resulted in an alarm (cloudwatch).
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.