Giter Club home page Giter Club logo

Comments (6)

FabriceOllivier avatar FabriceOllivier commented on June 8, 2024

Agent has no "memory" on its own. It's probabky easier to do this in the ETL (or whatever is in place right now instead of the ETL)

from dd-agent.

alq666 avatar alq666 commented on June 8, 2024

I wonder whether it's not better to let the agent handle it, mostly because it needs 1 bit of memory (master or not) between checks. The agent already uses a bit of memory for gauges and rates. I think It's fine for the agent to broadcast "hey I'm master" when it restarts, even if there have not been any state changes; and otherwise send an event when the state changes.

Thoughts?

from dd-agent.

FabriceOllivier avatar FabriceOllivier commented on June 8, 2024

Fine by me, it's the easier and less resource consuming implementation (from our point of view :p).

from dd-agent.

alq666 avatar alq666 commented on June 8, 2024

Cool. Let's make it work that way. Stateless is better.

from dd-agent.

alq666 avatar alq666 commented on June 8, 2024

from dd-agent.

FabriceOllivier avatar FabriceOllivier commented on June 8, 2024

Pull request are "in" for dd-agent and dogweb

from dd-agent.

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.