[ECS/ContainerInsights] [Dimension]: support for *TaskCount metric via TaskDefinitionFamily dimension
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) 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**
We'd like the ability to pull `PendingTaskCount` and `RunningTaskCount` metrics from the **TaskDefinitionFamily** dimension
**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?**
Currently `PendingTaskCount` and `RunningTaskCount` metrics can only be gathered from the **ClusterName** & **ServiceName** dimensions, meaning any Task containers managed by a Lambda are unable to report the number of running or pending containers for that particular Task, as these metrics do not support the **TaskDefinitonFamily** dimension. For cases where people dump Container Insights info into external dashboards for visualization (or use the built-in CloudWatch dashboards), we're totally unable to gather information regarding currently-running or pending containers for these Service-less Tasks.
**Are you currently working around this issue?**
We can't, and it sucks haha
**Additional context**
Nope, I think that's it.
Contributor guide
Research direction
The issue requests AWS ECS Container Insights metrics for the TaskDefinitionFamily dimension, but it names no repository files, tests, or implementation entry point. Start by determining whether this roadmap repository contains any implementation scope; done would mean PendingTaskCount and RunningTaskCount are available for TaskDefinitionFamily, including service-less tasks.
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
- Mostly clear
- Newbie friendliness
- 20/100