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

zipkin (4) Versions 0.3.0

Installs and configures Zipkin, a distributed tracing system.

Policyfile
Berkshelf
Knife
cookbook 'zipkin', '= 0.3.0', :supermarket
cookbook 'zipkin', '= 0.3.0'
knife supermarket install zipkin
knife supermarket download zipkin
README
Dependencies
Quality 57%

chef-zipkin Cookbook

This cookbook installs and configures the Zipkin distributed tracing system.

Requirements

Chef 12+

Platforms

This cookbook uses Test Kitchen to do cross-platform convergence and
post-convergence tests. The tested platforms are considered supported. This
cookbook may work on other platforms or platform versions with or without
modification.

  • Ubuntu 12.04, 14.04

Note that Upstart is the only supported init system currently.

Cookbooks

This cookbook does not depend on any other cookbooks but Java is required to
to run Zipkin. Therefore, the java cookbook is recommended.

Attributes

Attributes have default values set in attributes/default.rb. Configuration
for the various Zipkin components (collector, storage, etc.) is done entirely
via environment variables. In an effort to support a flexible configuration
pattern the node['zipkin']['env_vars'] hash is provided. Configuration
key-value pairs should be placed in here and they will be exported as
environment variables in the startup script. This hash is intended to be one
level deep and the keys will be uppercased and exported.

For instance, given the following attribute configuration:

default['zipkin']['env_vars']['query_port'] = 8080
default['zipkin']['env_vars']['storage_type'] = 'mysql'
default['zipkin']['env_vars']['mysql_user'] = 'buster'
default['zipkin']['env_vars']['mysql_pass'] = 'motherboy'
default['zipkin']['env_vars']['mysql_use_ssl'] = true
default['zipkin']['env_vars']['zipkin_ui_environment'] = 'qa'

Will produce the following values in the init script:

export QUERY_PORT="8080"
export STORAGE_TYPE="mysql"
export MYSQL_USER="buster"
export MYSQL_PASS="motherboy"
export MYSQL_USE_SSL="true"
export ZIPKIN_UI_ENVIRONMENT="qa"

General attributes:

  • node['zipkin']['version']: Version to install.
  • node['zipkin']['install_dir']: Where to install the application. Defaults to /opt/zipkin.
  • node['zipkin']['manage_user']: Should we create the user and group?
  • node['zipkin']['user']: User to run the daemon as. Defaults to zipkin.
  • node['zipkin']['group']: Group to run the daemon as. Defaults to zipkin.
  • node['zipkin']['uid']: User ID for the Zipkin user.
  • node['zipkin']['gid']: Group ID for the Zipkin group.

Recipes

default

Configures the system, installs the JARs, and generates the Upstart
configuration.

_install

Fetches the relevant JARs from Maven Central and drops them into the
configured installation directory.

_setup

Performs required system configuration such as creating the required user and
group with which to run Zipkin.

Usage

Simply set your attributes and include the zipkin::default recipe.

License and Author

Author:: Rich Schumacher

Copyright:: 2016-2017, Curalate, Inc.

Released under the MIT License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.3.0 failed this metric

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

Contributing File Metric
            

0.3.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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 passed this metric

License Metric
            

0.3.0 passed this metric

No Binaries Metric
            

0.3.0 passed this metric

Testing File Metric
            

0.3.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 https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.0 passed this metric