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


google_stackdriver (4) Versions 1.1.0

Installs/Configures Stackdriver agent

cookbook 'google_stackdriver', '= 1.1.0', :supermarket
cookbook 'google_stackdriver', '= 1.1.0'
knife supermarket install google_stackdriver
knife supermarket download google_stackdriver
Quality 57%

Google Stackdriver Chef cookbook

Circle CI

Handles the setup and installation of the google stackdriver agent and plugins.


Supports CentOS, RHEL, Amazon, and Ubuntu linux distributions.


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.



  • 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




  • enable - enable the apache plugin. Default is false.
  • mod_status_url - Mod status URL for apache. Default =
  • user - Mod status username for apache plugin.
  • password - Mod status password for apache plugin.


  • 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.


  • enable - enable the memcached plugin. Default is false.
  • host - location of the memcached instance.
  • port - port for the memcached instance.


  • 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.


  • 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.


  • 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.


stackdriver::default - sets up the repository and installs the stackdriver agent.
stackdriver::plugins - handles plugin configuration for compatible collectd plugins.


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github


Author:: TABLE XI (


Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for google_stackdriver


  • Change Cookbook name to google_stackdriver.
  • Add integration with GCM
  • Allow to run both legacy and gcm agents
  • Switch to CircleCI for testing.


  • add circleci support
  • update test kitchen support
  • update elasticsearch plugin
  • update amazon repo package
  • update documentation


  • revise stackdriver_repo url attribute definition


  • add kitchen test gem
  • add generate hostid
  • add tags
  • use yum-epel cookbook


  • update berkshelf to version 3
  • update rubocop and fix syntax
  • add memcache plugin


  • update redis package dependency.
  • add end of line character to template files.


  • update elasticsearch package dependency


  • fix specs


  • Remove dependency on response file for Debian installations.
    The file will be over-written by the template resource regardless; it served
    no function other than to install the package.

  • Update GPG key location per Stackdriver documentation

  • Syntax cleanup


  • Add default :upgrade action.
  • Lock yum cookbook version.


  • Added delete conf file resource.


  • Added recipe to setup custom apache plugin


  • fixed redhat platform name
  • added enable attribute


  • Added collectd plugins (elasticcache, mongodb, nginx, redis)
  • added travis support


  • Added support for Ubuntu 10.04, 12.04, and 12.10


  • Initial release.

Collaborator Number Metric

1.1.0 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.0 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, and your repo must contain a file

Foodcritic Metric

1.1.0 passed this metric

License Metric

1.1.0 passed this metric

No Binaries Metric

1.1.0 passed this metric

Testing File Metric

1.1.0 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, and your repo must contain a file

Version Tag Metric

1.1.0 passed this metric