cookbook 'graphite_reporting_handler', '~> 1.1.10'
graphite_reporting_handler (6) Versions 1.1.10 Follow0
Installs & Configures the Chef Graphite Reporting Handler.
cookbook 'graphite_reporting_handler', '~> 1.1.10', :supermarket
knife supermarket install graphite_reporting_handler
knife supermarket download graphite_reporting_handler
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
- Set Attributes for your Graphite Carbon host:
default_attributes( {'graphite_reporting_handler' => {'graphite_host' => 'metrics.tacocopter.com'}} )
- Add the graphite_reporting_handler to your Run List:
run_list('recipe[graphite_reporting_handler]')
- 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
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
FC121: Cookbook depends on cookbook made obsolete by Chef 14: graphite_reporting_handler/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.10 passed this metric
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 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 include a tag that matches this cookbook version number
1.1.10 failed this 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
FC121: Cookbook depends on cookbook made obsolete by Chef 14: graphite_reporting_handler/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.10 passed this metric
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 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 include a tag that matches this cookbook version number
1.1.10 failed this metric
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
FC121: Cookbook depends on cookbook made obsolete by Chef 14: graphite_reporting_handler/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.10 passed this metric
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 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 include a tag that matches this cookbook version number
1.1.10 failed this 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 include a tag that matches this cookbook version number