blazs
blazs

Reputation: 4845

How to get performance stats of the invoked AWS lambda task?

I am submitting tasks (eventually this will be hundreds of thousands of tasks) to AWS lambda using InvokeRequest class, and I am interested in performance characteristics of the task: execution time, memory usage, etc.

Note that I will eventually want to compute various performance statistics and plots of the submitted tasks in costum code.

Upvotes: 1

Views: 381

Answers (1)

Mark B
Mark B

Reputation: 200562

You can get execution time (Duration), Error count, Invocation count and Throttles metrics in CloudWatch. For memory usage I think you would have to pull that from CloudWatch Logs somehow. You might start by looking at this AWS forum thread which discusses AWS Lambda memory profiling.

Upvotes: 3

Related Questions