Lambda Monitoring & X-Ray Tracing Hands OnΒΆ
In the lambda, under Monitor - Metrics
we can see the CloudWatch Metrics for our lambda.
We can also see the CloudWatch Logs for the lambda invocations.
We can go to Configuration - Monitoring and operations tools
We can enable AWS X-Ray there.
This will also create the necessary permissions:
Then, we can trigger the function and after some time we will see an xray service map.