cookbook 'google_stackdriver', '~> 1.1.4'
google_stackdriver (4) Versions 1.1.4 Follow0
Installs/Configures Stackdriver agent
cookbook 'google_stackdriver', '~> 1.1.4', :supermarket
knife supermarket install google_stackdriver
knife supermarket download google_stackdriver
Google Stackdriver Chef cookbook
Handles the setup and installation of the google stackdriver agent and plugins.
Requirements
Supports CentOS, RHEL, Amazon, and Ubuntu linux distributions.
Usage
Add stackdriver::default to your run list.
To use the plugins, change the enable attribute to true and add the stackdriver::plugins recipe to your run list.
Attributes
default
- action - Install (:install) or install and ensure stackdriver_agent is the latest version (:upgrade). Default :upgrade.
- repo_url - location of the package repository.
- api_key - set the api key from your stackdriver account.
- config_collectd - should stackdriver handle collectd.conf autogeneration. Default is true.
- enable - If set to false, the stackdriver agent will be disabled. Default is true.
- gen_hostid - generate a host id. Link
- gpg_key - location of the Stackdriver gpg-key for package authentication.
- service_account - A hash of various GCM configs. Most of these are directly taken from the GCM credentials json file. If you want this cookbook to manage the credentials file, all attributes except file_provided are mandatory.
- file_provided - If you are poviding the google credentials file (application_default_credentials) outside of this cookbook, set to true. Default is false.
- client_email - default is nil
- client_id - default is nil
- client_x509_cert_url - default is nil
- private_key - default is nil
- private_key_id - default is nil
- project_id - default is nil
- x509_cert_url - default is nil
- tags - set tags for your instance. Link
plugins
node['stackdriver']['plugins']
apache
- enable - enable the apache plugin. Default is false.
- mod_status_url - Mod status URL for apache. Default = http://127.0.0.1/server-status?auto
- user - Mod status username for apache plugin.
- password - Mod status password for apache plugin.
elasticsearch
- enable - enable the elasticsearch plugin. Default is false.
- http - elasticsearch protocol to use
- url - elasticsearch node url
- request_stats - the stats request path
- request_health - the health request path
- package - which yajl package to install
NOTE: This will get statistics for the entire cluster.
memcached
- enable - enable the memcached plugin. Default is false.
- host - location of the memcached instance.
- port - port for the memcached instance.
mongodb
- enable - enable the mongodb plugin. Default is false.
- host - location of the mongodb instance.
- port - port of the mongodb isntance.
- username - if a username is required for access.
- password - if a password is required for access.
- secondary_query - all dbStat queries will be executed on a secondary node to avoid performance hits to the main db while adding a bit of latency to the metric data due to the eventual consistent nature of secondary nodes. Default is false.
nginx
- enable - enable the nginx plugin. Default is false.
- url - location of the nginx_status output.
- username - if a username is required for access. password - if a password is required for access.
redis
- enable - enable the redis plugin. Default is false.
- package - install redis package dependency
- node - name of the redis node
- host - location of the redis instance.
- port - port for the redis instance.
- timeout - time to wait for missing values.
NOTE: The redis plugin requires manually running the yum-epel::default recipe on RHEL or other platforms within the family.
Recipes
stackdriver::default - sets up the repository and installs the stackdriver agent.
stackdriver::plugins - handles plugin configuration for compatible collectd plugins.
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Author
Author:: TABLE XI (sysadmins@tablexi.com)
Contributors
- Kevin Reedy (kevin@bellycard.com)
- Christian Vozar (christian@bellycard.com)
- Enrico Stahn (mail@enricostahn.com)
- akshah123
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change Log
v1.1.4 (2017-09-19)
Closed issues:
- Error running
google\_stackdriver::default
#28
Merged pull requests:
v1.1.3 (2017-08-15)
Implemented enhancements:
- Add yum-epel cookbook for kitchen testing #25 (phoolish)
- Remove GCM duplication when disabling legacy #23 (phoolish)
Fixed bugs:
changelog-v1.1.2 (2017-08-10)
v1.1.2 (2017-08-10)
Fixed bugs:
changelog_v1.1.1 (2017-08-10)
v1.1.1 (2017-08-10)
Implemented enhancements:
v1.1.0 (2017-06-07)
Fixed bugs:
- hiredis not available on newer versions of amazon linux #21
- Fix redis plugin setup on AWS Linux > 2015 #22 (phoolish)
v1.0.0 (2017-05-26)
Implemented enhancements:
Merged pull requests:
- Don't hardcode but use GPG key URL from attributes for debian #16 (aakritigupta)
v0.5.0 (2015-08-09)
Merged pull requests:
v0.4.3 (2015-05-05)
v0.4.2 (2014-09-25)
v0.4.1 (2014-09-19)
Merged pull requests:
v0.4.0 (2014-07-09)
v0.3.9 (2014-07-07)
Merged pull requests:
v0.3.8 (2014-05-19)
Merged pull requests:
- Add support for Ubuntu 14.04 #11 (christianvozar)
v0.3.6 (2014-04-02)
Closed issues:
- Upgrade and install action fails on ubuntu 12.10 #8
Merged pull requests:
- Remove Dependency on Response File #10 (christianvozar)
v0.3.4 (2014-02-27)
Merged pull requests:
v0.3.3 (2013-12-18)
v0.3.2 (2013-12-18)
Merged pull requests:
v0.3.1 (2013-12-18)
Closed issues:
- No tagged release #2
v0.3.0 (2013-11-28)
Merged pull requests:
- Added support for Ubuntu 10.04 and 12.04 #1 (kevinreedy)
* This Change Log was automatically generated by github_changelog_generator
Collaborator Number Metric
1.1.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.4 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.4 passed this metric
No Binaries Metric
1.1.4 passed this metric
Testing File Metric
1.1.4 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.4 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.4 failed this metric
1.1.4 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.4 passed this metric
No Binaries Metric
1.1.4 passed this metric
Testing File Metric
1.1.4 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.4 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.4 passed this metric
1.1.4 passed this metric
Testing File Metric
1.1.4 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.4 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.4 failed this metric
1.1.4 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