Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

graphite_reporting_handler (6) Versions 1.1.7

Installs & Configures the Chef Graphite Reporting Handler.

Policyfile
Berkshelf
Knife
cookbook 'graphite_reporting_handler', '= 1.1.7', :supermarket
cookbook 'graphite_reporting_handler', '= 1.1.7'
knife supermarket install graphite_reporting_handler
knife supermarket download graphite_reporting_handler
README
Dependencies
Quality 100%

graphite_reporting_handler Cookbook

Description

A Chef Cookbook that installs & configures a report handler for sending Chef run
metrics to Graphite. If you have the system_packages
Ohai plugin installed, this handler will also send package metrics to Graphite.

Requirements

The chef_handler Cookbook.

Attributes

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

  • node['graphite_reporting_handler']['graphite_host'] - Host where Graphite's Carbon daemon is accepting metrics. Default: localhost
  • node['graphite_reporting_handler']['graphite_port'] - Port where Graphite's Carbon daemon is accepting metrics. Default: 2003
  • node['graphite_reporting_handler']['graphite_protocol'] - Protocol for communicating with Graphite's Carbon daemon. Default: tcp
  • node['graphite_reporting_handler']['metric_path'] - Metric path, or queue. Default: chef.#{node.chef_environment}.node.#{node['hostname']}
  • node['graphite_reporting_handler']['metric_prefix'] - Prepended to the metric_path, useful for Hosted Graphite's API Key. Default: nil

Usage

  1. Set Attributes for your Graphite Carbon host:
  default_attributes(
    {'graphite_reporting_handler' => {'graphite_host' => 'metrics.tacocopter.com'}}
  )
  1. Add the graphite_reporting_handler to your Run List:

run_list('recipe[graphite_reporting_handler]')

  1. Look at graphs, impress your friends, go home early?

Credit & Inspiration

The original Graphite Reporting Handler was written by Ian Meyer, and
was converted into a Cookbook by Peter Donald, et al. The original Reporting Handler
was scrubbed of the graphite-simple Gem requirement by the team at Etsy. This
Cookbook was derived from these sources and adds UDP and metric_prefix support.

Contributors

See CONTRIBUTORS.md

Author

Greg Albrecht (gba@onbeep.com)

License

Apache License, Version 2.0

Copyright 2014 OnBeep, Inc.

Source

https://github.com/onbeep-cookbooks/graphite_reporting_handler

Dependent cookbooks

chef_handler >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

1.1.7 passed this metric