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!

asked 2 years ago708 views
1 Answer
1
Accepted Answer

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
EXPERT
Uri
answered 2 years ago
profile picture
EXPERT
reviewed 17 days ago
  • I will check out the Sum option, thank you Uri.

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