containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[Batch] [Feature]: Set alarm for Batch job congestion

Open manjunsd opened this issue 4 years ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request [Ticket raised on behalf of Customers]

Customers have been requesting for a way to set up alarms to monitor Batch jobs based on status and send notification when the number exceeds a certain threshold.

For example: There are have been occasions when customers have jobs stuck for an extended period in STARTING state, holding resources in the underlying ECS nodes, and resulting in significant unnecessary spend. Through Cloudwatch alarms it will easier to avoid situation like these.

Which service(s) is this request for? Batch, ECS

Are you currently working around this issue? Right now the only way to get notifications for batch events based on the number of jobs in a particular state is through a custom solution to send this alarm.

A solution would be to periodically run a Lambda function that checks the number of jobs in a state, then using CloudWatch/SNS to notify you when this number exceeds a configured value.

manjunsd avatar Nov 09 '22 18:11 manjunsd