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!

demandé il y a 2 ans728 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 2 ans
profile picture
EXPERT
vérifié il y a un mois
  • I will check out the Sum option, thank you Uri.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions