Viewing your Lambda Insights metrics - Amazon CloudWatch

Viewing your Lambda Insights metrics

After you have installed the Lambda Insights extension on a Lambda function that has been invoked, you can use the CloudWatch console to see your metrics. You can see a multi-function overview, or focus on a single function.

For a list of Lambda Insights metrics, see Metrics collected by Lambda Insights.

To view the multi-function overview for your Lambda Insights metrics
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the left navigation pane, under Lambda Insights, choose Multi-function.

    The top part of the page displays graphs with aggregated metrics of all your Lambda functions in the Region that have Lambda Insights enabled. Lower on the page is a table that lists the functions.

  3. To filter by function name to reduce the number of functions displayed, type part of the function name in the box near the top of the page.

  4. To add this view to a dashboard as a widget, choose Add to dashboard.

To view metrics for a single function
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the left navigation pane, under Lambda Insights, choose Single-function.

    The top part of the page displays graphs with metrics for the selected function.

  3. If you have X-Ray enabled, you can choose a single trace ID. This opens the X-Ray Trace Map page for that invocation, and from there you can zoom out to see the distributed trace and the other services involved in handling that specific transaction. For more information about the X-Ray Trace Map, see Using the X-Ray Trace Map.

  4. To open CloudWatch Logs Insights and zoom in on a specific error, choose View logs by the table at the bottom of the page.

  5. To add this view to a dashboard as a widget, choose Add to dashboard.