GithubHelp home page GithubHelp logo

tailhook / cantal Goto Github PK

View Code? Open in Web Editor NEW
44.0 9.0 7.0 3.6 MB

Heartbeating and monitoring solution

License: MIT License

Makefile 0.31% JavaScript 14.52% CSS 10.28% HTML 1.33% Python 4.91% Rust 68.65%
monitoring metrics monitoring-server rust javascript

cantal's People

Contributors

kstep avatar osvaldsson avatar roman901 avatar tailhook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cantal's Issues

Make `/etc/machine-id` required

We use auto-generated ID when there is no such file. But it turns out to be a problem, because sometimes file is written after cantal is started and we see cantal with wrong machine id.

We need to require it if -cluster-name is specified (i.e. we expect that it's clustered cantal not a standalone one)

Add some minimal trend analysis to cantal

To make scheduling decisions we need two things: absolute value of some metric and a trend.

Currently, we fetch all the datapoints and compute math on top. But it's better to aggregate values in cantal itself. We already have aggregation function facility. We just need a few functions:

  1. Gradient value over N data points fit using least squares
  2. Moving average over N data points
  3. Maximum value over N data points (probably applied after moving average)

Get metric value via HTTP JSON API

Hi!
I would very much like to be able to get the values of individual metrics via JSON, passing the key and get metric value and last update timestamp as result.

Clean short-lived processes faster

Cantal tries to track all the processes in the system. And it keeps the data for 1-2 hours.

If there are two much short-lived processes in the system they occupy too much memory, but the data they generate is pretty much useless. We should probably clean short-lived processes faster to drop CPU usage by cantal on such system.

Add "new peer" form

It was in old version of cantal, and wasn't implemented since a refactoring of UI.

Currently, to add a host to a cluster you need to use curl:

curl -X POST -d "{\"addr\":\"1.2.3.4:22682\"}" http://localhost:22682/add_host.json

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.