Code Monkey home page Code Monkey logo

tally's Introduction

Choria Fleet Tally

In large dynamic fleets it's hard to keep track of counts and versions of nodes. This is a tool that can observe a running network and gather versions of a specific component. The results are exposed as Prometheus metrics.

$ tally --component server --port 8080 --prefix choria_tally

For this to work it uses the normal Choria client configuration to connect to the right middleware using TLS and listen there. The certificates needed does not need to match the .+.mcollective pattern, meaning tally will never make RPC requests to your fleet - it passively listens for advisories.

This will listen on port 8080 for /metrics, it will observe events from the server component and expose metrics as below:

Metric Description
choria_tally_good_events Events processed successfully
choria_tally_process_errors The number of events received that failed to process
choria_tally_event_types The number of events received by type
choria_tally_versions Gauge indicating the number of running components by version
choria_tally_maintenance_time Time spent doing regular maintenance on the stored data
choria_tally_processing_time The time taken to process events
choria_tally_nodes_expired The number of nodes removed during maintenance runs

Additionally, this tool can also watch Choria Autonomous Agent events, today it supports transition events only:

Metric Description
choria_tally_machine_transition Information about transition events handled by Choria Autonomous Agents

Here the prefix - choria_tally - is what would be the default if you didn't specify --prefix.

tally's People

Contributors

ripienaar avatar

Watchers

James Cloos avatar  avatar

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.