Could not Browse Lambda Function in Lambda Insights Console

0

I have a Lambda Function that has had CloudWatch Lambda Insights-Enhanced monitoring enabled since the beginning. However, now when I try to monitor the Lambda, I can't find it in the Lambda Insights Console.

Re-produce step:

  1. Open the Lambda Insights page in the CloudWatch console.
  2. Choose Single-function
  3. Filter by function name. -> But the function name does not appear in the filter list.

I also tried using View Lambda Insights on the Lambda function's page, but it did not show the Insights for that function either. This issue only affects some functions; others still work fine.

One commonality I've noticed among the impacted functions is their invocation time. The last time these functions were invoked was more than 3 months ago. Could this possibly be the reason? If so, is there any way I could view the Insights for these functions?

asked 3 months ago172 views
2 Answers
1
Accepted Answer

Hello.

Is the IAM policy "CloudWatchLambdaInsightsExecutionRolePolicy" set in the Lambda function's IAM role?
This IAM policy is required to send logs to Lambda insights.
Also, will it be displayed after Lambda is executed?

profile picture
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 24 days ago
0

Yes, the CloudWatchLambdaInsightsExecutionRolePolicy policy was set for the Lambda function.

And yes, the Lambda function is displayed in the Lambda Insights filter after I invoke the function.

Therefore, I can conclude that Lambda Insights will not display for the Lambda function if it has not been invoked for a long time.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions