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.
答案 0 :(得分:3)
您可以在CloudWatch中获取执行时间(持续时间),错误计数,调用计数和Throttles指标。对于内存使用,我认为您必须以某种方式从CloudWatch Logs中获取内存。您可以先查看讨论AWS Lambda内存分析的this AWS forum thread。