Giter Club home page Giter Club logo

chef-graphite_handler's Introduction

Description

Build Status

A cookbook that includes a report handler for sending chef run results to graphite. If you have the ohai-system_packages plugin installed, it will also send package statistics to graphite.

Requirements

The chef_handler cookbook.

Attributes

This cookbook uses the following attributes to configure how it is installed.

  • node['chef_client']['handler']['graphite']['host'] - The graphite server host.
  • node['chef_client']['handler']['graphite']['port'] - The graphite server port.
  • node['chef_client']['handler']['graphite']['prefix'] - The prefix appended to statistics sent to graphite. Defaults to "chef.#{node.chef_environment}.node.#{node['hostname']}".

Usage

Set the host and port attributes on the node and include the "graphite_handler::default" recipe.

Custom metrics

To send custom metrics, fill a hash in run_context[:graphite_handler_metrics]. For instance, in a ruby_block:

run_context[:graphite_handler_metrics] ||= {}
run_context[:graphite_handler_metrics][:monitoring_registration_time] = Benchmark.measure { register node }.real

Credits

The handler was originally written by Ian Meyer and was converted to a cookbook by Peter Donald. Contributions by Lew Goettner, Julian Dunn and others.

chef-graphite_handler's People

Contributors

bijugs avatar cgriego avatar imeyer avatar jblaine avatar juliandunn avatar kamaradclimber avatar lewg avatar lusis avatar obazoud avatar pdf avatar realityforge avatar

Stargazers

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

Watchers

 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.