Lamdba Insights, then
You will see the metrics of the four Lambda functions that were created as part of the PetAdoptions application.
You can view metrics for a specific lambda function by hovering over and clicking on it.
multi-functioncurrently selected, select
You can see the individual function metrics like CPU, Memory and Network Usage as shown below.
Lambda Insights is integrated with ServiceLens. You can view X-Ray traces by clicking on
View shown below for a particular function execution.
statusupdaterservicelambda function to fix this problem. Before we do that, let’s find out the current memory allocation of the lambda function.
LAMBDA_FUNCTION_NAME=$(aws lambda list-functions | jq -r '.Functions.FunctionName | select(contains("statusupdaterservice"))') aws lambda get-function-configuration --function-name $LAMBDA_FUNCTION_NAME
You can see the current memory allocation in the result as shown below
Now execute the following command to increase the memory allocation
aws lambda update-function-configuration --function-name $LAMBDA_FUNCTION_NAME --memory-size 256
This concludes the Lambda Insights module.