GithubHelp home page GithubHelp logo

circonus-labs / circonus-cookbook Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 7.0 490 KB

Chef 10.x cookbook for managing Circonus checks, metrics, rules, and graphs.

License: Apache License 2.0

Ruby 100.00%

circonus-cookbook's People

Contributors

2shortplanks avatar clintoncwolfe avatar esproul avatar jsime avatar mivok avatar pamaddox avatar postwait avatar sax avatar

Stargazers

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

Watchers

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

circonus-cookbook's Issues

Allow specifying multiple criteria for a rule

It'd be nice if I could specify multiple criteria for a rule when specifying the rule, so I don't need to write separate rules for absence checks and the actual criteria that I care about.

Optimization Bug?

In theory the caching should protect updates from happening constantly (needlessly). Without some mechanism to tie some sort of clear cache mechanism to an update having happened on this chef run the protection does not happen in practice. In fact without a clear cache every chef run results in an attempted update if there is any difference between circonus and the local copy. This is VERY slow to be doing every chef run.

Suggested solution: Trigger a cache clear at the end of the run if we perceive a difference that needed to be updated for.

Wrong JSON.parse being called

Have a report that JSON.parse is being called from somewhere that JSON is already being used as a class name; need to use absolute class name, ::JSON.parse.

Check Bundles Should Not be Identified by Their Display Names

https://github.com/circonus-labs/circonus-cookbook/blob/v0.0.9/providers/check_bundle.rb#L60

We're using the display name of a check bundle as an identifier internally, and in the caching system - target, type, name is the full tuple. But the circonus API uses target, type, hashed config and a modified version of the broker list.

This means that if you specify a display name, and it does not match the name of an otherwise matching check_bundle, the API will return code 200 and make no changes.

We should hash on the config, and leave the display name as a secondary attribute.

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.