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?

已提問 3 個月前檢視次數 185 次
2 個答案
1
已接受的答案

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
專家
已回答 3 個月前
profile picture
專家
已審閱 1 個月前
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.

已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南