Is Lambda invocation = 0 is a guaranteed metric that proves the Lambda function was unused during the period I provide to metric?

0

Hey everyone,

I am doing a general cleanup on Lambda functions. As I don't want to ruin the production environment, I want to make sure that Lambda is not used at all before deleting it.

I am using Lambda monitor tab > CloudWatch metrics -> Invocation metric Can we say that when invocation count is 0 the Lambda is not used at all for the time interval I provide?

Thank you all in advance for your time and help!

已提问 2 年前728 查看次数
1 回答
1
已接受的回答

Invocations counts the number of times the function was invoked. So yes, if it 0, it means it was not invoked. I do recommend that you use the Sum option in the dashboard to make sure you do not miss some small numbers.

profile pictureAWS
专家
Uri
已回答 2 年前
profile picture
专家
已审核 1 个月前
  • I will check out the Sum option, thank you Uri.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则