Giter VIP home page Giter VIP logo

Comments (7)

bbinet avatar bbinet commented on August 16, 2024

Something equivalent to Heka behavior would be great: http://hekad.readthedocs.org/en/latest/config/index.html?highlight=can_exit#configuring-restarting-behavior

from hindsight.

trink avatar trink commented on August 16, 2024

Hindsight is designed to always be running (eventually it will be daemonized). It should be thought of as a service waiting for a job to be submitted (that is why it can run without any plugins). A job (plugin) failure should never cause the service to shut-down since it may be running other peoples jobs in addition to yours. This type of functionality would not be part of the infrastructure itself but could be bolted on much like the pruning/file cleanup is (you could monitor for sandbox terminations, restart them as desired or shutdown the HS process).

from hindsight.

bbinet avatar bbinet commented on August 16, 2024

Ok, I see.
How would you technically monitor the sandbox terminations?

from hindsight.

trink avatar trink commented on August 16, 2024

Currently you could monitor the HS error log output (stderr). There are some open options/todo's around that i.e.,possibly generating Heka protobuf message and dumping them on the input queue, or creating a dedicated input to manage them, etc

You could also monitor the hindsight.tsv (stats) file but that is only updated once a minute so it would be a a little less timely.

from hindsight.

bbinet avatar bbinet commented on August 16, 2024

Once a minute is fine with me, but how do you know a sandbox has been terminated by monitoring hindsight.tsv? This information is not available in the tsv file, isn't it?

from hindsight.

trink avatar trink commented on August 16, 2024

The fact that it is not there is exactly how you would detect it.

from hindsight.

bbinet avatar bbinet commented on August 16, 2024

Ok, I see.
Thanks.

from hindsight.

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.