D474
D474

Reputation: 43

How to create CloudWatch alarm for memory usage on lambda based on CloudWatch logs

I have the below log in CloudWatch and would like to create an alarm when average of Max memory usage exceeds 400 MB.

REPORT RequestId: xxxxxx-xxx-xxx-xxx-xxx Duration: 5750.91 ms Billed Duration: 5751 ms Memory Size: 512 MB Max Memory Used: 150 MB Init Duration: 1562.14 ms

Upvotes: 1

Views: 3133

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269091

Unfortunately, Memory Used is not one of the standard AWS Lambda function metrics collected by Amazon CloudWatch.

You would need to:

Let us know how it goes!

Upvotes: 2

Related Questions