aws / aws/containers-roadmap

[ECS] [request]: More Scheduled Task Metrics

Open
#490 0 comments 8 reactions 0 assignees View on GitHub
ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

**Tell us about your request**
Adding more built in metrics for scheduled tasks in ECS would help us get a more complete picture of the health of our tasks.

**Which service(s) is this request for?**
ECS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
I want to have metrics for the health of schedule tasks/jobs that run on ECS. Thing that I am interested in are: execution time, the job ran to completion (zero exit code) or the job ended abnormally (non-zero exit code). Similarly the ability to notify a SNS topic when a task has a non-zero exit would help with monitoring the health of tasks.

I can create log metrics that will tell me some of this information, but this requires additional development effort to tweak and tune the log metrics. Also, I may miss some types of problems if my log metric filter doesn't catch them, whereas most failures would be easily found by monitoring non-zero exit of a task.

We're moving away from tasks running on a job server controlled by Jenkins to containerized tasks running on ECS, but we're concerned that we don't have the same level of alerting if something goes wrong.

**Are you currently working around this issue?**
I'm building out log metrics to monitor for errors and exceptions, and other events in the log to work around this.

**Additional context**
n/a

**Attachments**
n/a

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or implementation entry points are identified in the request. First review the ECS scheduled-task and monitoring capabilities, then define the supported execution, exit-status, duration, and SNS-notification behavior; done means those requirements are specified and implemented with validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.