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

RSS

graphite_reporting_handler (6) Versions 1.1.10

Installs & Configures the Chef Graphite Reporting Handler.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'graphite_reporting_handler', '~> 1.1.10'
cookbook 'graphite_reporting_handler', '~> 1.1.10', :supermarket
knife cookbook site install graphite_reporting_handler
knife cookbook site download graphite_reporting_handler
README
Dependencies
Quality

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.

Collaborator Number Metric
            

1.1.10 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.1.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.1.10 failed this metric

FC052: Metadata uses the deprecated "suggests" keyword: graphite_reporting_handler/metadata.rb:11
FC064: Ensure issues_url is set in metadata: graphite_reporting_handler/metadata.rb:1
FC065: Ensure source_url is set in metadata: graphite_reporting_handler/metadata.rb:1
FC066: Ensure chef_version is set in metadata: graphite_reporting_handler/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: graphite_reporting_handler/metadata.rb:1
FC069: Ensure standardized license defined in metadata: graphite_reporting_handler/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.1.10 failed this metric

graphite_reporting_handler does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

1.1.10 passed this metric

Publish Metric
            

1.1.10 passed this metric

Supported Platforms Metric
            

1.1.10 failed this metric

graphite_reporting_handler should declare what platform(s) it supports.

Testing File Metric
            

1.1.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.1.10 passed this metric