Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Enhanced metric for batch item failures #435

Closed
rg-lesmills opened this issue Nov 12, 2023 · 4 comments
Closed

Feature request: Enhanced metric for batch item failures #435

rg-lesmills opened this issue Nov 12, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@rg-lesmills
Copy link

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 and aws.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).

@astuyve
Copy link
Contributor

astuyve commented Nov 13, 2023

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!

@duncanista duncanista added the enhancement New feature or request label Jan 10, 2024
@duncanista
Copy link
Contributor

This should be available in the next release!

@duncanista
Copy link
Contributor

Closing due to latest release v109 🎉 being available!

@rg-lesmills
Copy link
Author

@astuyve @duncanista @ssolmonson Thank you so much! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants