Giter Club home page Giter Club logo

Comments (4)

devshorts avatar devshorts commented on May 14, 2024 5

@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.

petderek avatar petderek commented on May 14, 2024 1

@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.

dkeightley avatar dkeightley commented on May 14, 2024 1

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.

abby-fuller avatar abby-fuller commented on May 14, 2024

moving this to the containers roadmap since this is a non agent-related feature req.

from containers-roadmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.