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!

feita há 2 anos728 visualizações
1 Resposta
1
Resposta aceita

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
ESPECIALISTA
Uri
respondido há 2 anos
profile picture
ESPECIALISTA
avaliado há um mês
  • I will check out the Sum option, thank you Uri.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas