Comments (4)
@petderek I see, the complexity here is that its hard to tell the difference between a kill and a scale down if we use the event stream to just find stops. We have metrics that log start/stop of containers already (since we hook into SIGTERM and log our own metric) but we can't determinsitically tell if we are either thrashing (i.e. the container is being started and stopped a lot) or just dynamically scaling
I don't have experience with it, but it looks like docker does have some sort of events it processes: https://docs.docker.com/engine/reference/commandline/events
Being able to capture those and put them into cloudwatch would be really killer
from containers-roadmap.
@devshorts,
Thanks for suggesting this! We don't currently report a metric for that event.
It's not exactly what you asked for, but you could see if the CloudWatch Event Stream addresses your use case. You could use these events to publish a custom metric if you want to setup CloudWatch alarms.
One clarification: the agent doesn't kill tasks for memory limits being exceeded. The kernel is what will actually kill an application when a hard memory limit is exceeded. Docker (and ECS) depend on functionality that is already built into Linux.
from containers-roadmap.
If it's possible to tag onto this request, having CW metrics for the number of running tasks and desired tasks would also be valuable, rather than correlating these through events.
from containers-roadmap.
moving this to the containers roadmap since this is a non agent-related feature req.
from containers-roadmap.
Related Issues (20)
- [EKS] [request]: Incorrect Access Policy created for AWS-managed windows node group with custom AMI HOT 1
- CoreDNS causing an issue to InsufficientNumberOfReplicas - The add-on is unhealthy because it doesn't have the desired number of replicas.[service] [request]: describe request here
- [ECS] [Events]: Add resource tags to ECS events
- [EKS] [request]: Adding subnets from previously unused AZs
- [EKS] [request]: EKS Optimized AMI for Ubuntu 24.04 HOT 2
- [BATCH] [request]: Allow control of Task Definition Network Configurations on Batch ECS/EC2
- [eks] [request]: Support specifying API Server Metric Cardinality Enforcement flag HOT 4
- [Fargate] [request]: Service Connect Health Checks HOT 3
- EKS [request]: Allow better automation of creation of access entries for SSO users HOT 1
- [ECS] [bug]: Explicitly setting transitEncryptionPort for an EFS volume causes mount to fail on newer ECS agents
- [EKS] [request]: Be able to config zipkin address in Advance configuration of solo-io_istio-distro addon
- [ECR] [request]: Pull through cache support for Elastic Container Registry (docker.elastic.co)
- [EKS] [request]: Support affinity in kube-proxy custom configuration
- [EKS] [request]: Update EKS Windows support doc to reflect VPC-CNI addon configuration HOT 1
- [ECR] [request]: Support scanning of Ubuntu 24.04 LTS based images
- [ECS] [BUG] gRPC load balancer does not work
- [ECS] [request]: Cannot call ECS services from lambda
- [ECS] [Task Definition Secrets File]: S3 File with Secrets defined with `valueFrom`
- [EKS] [request]: EKS Alpha Clusters
- [EKS] [request]: what's the recommended approach to allow non-AmazonEKSClusterAdmin IAM role to create custom resources on EKS? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from containers-roadmap.