Closed rg-lesmills closed 4 months ago
Hi @rg-lesmills, thanks for reaching out!
Definitely. This is something we'll add as a feature request internally, and close this issue when it is released.
Thanks!
This should be available in the next release!
Closing due to latest release v109 🎉 being available!
@astuyve @duncanista @ssolmonson Thank you so much! 😄
At our company, most of our Lambda functions are batching SQS events and using batchItemFailures for partial batch failures.
What this means practically is that Lambda will succeed, returning a list of failed events, rather than throwing an error.
Which means that the
aws.lambda.errors
andaws.lambda.enhanced.errors
metrics are both useless, because even if the whole batch of events fails to process, the invocation is marked as a success.It would be great if we could have a metric driven by the number of failed events (size of the
batchItemFailures
array in the response).