This query runs against Lambda function logs to get the following information:
- InvocationCount -- This is the number of times the Lambda function was invoked.
- ColdStartCount -- This is the number of times the Lambda function had initialization overhead (cold start).
- InitDuration (min, avg, max) -- This is the amount of time it took the Lambda function to initialize (cold start time).
- Duration (min, avg, max) -- This is the amount of time it took the Lambda function to run after initialization.
- AllocatedMemory -- This is the amount of memory allocated to the Lambda function in MB.
- MaxMemoryUsed (min, avg, max) -- This is the max amount of memory that the Lambda function used during its invocation in MB.