2013-12-26 14:14:17 -05:00
|
|
|
Description
|
|
|
|
===========
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Installs and sets up statsd <http://github.com/etsy/statsd>
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Requirements
|
|
|
|
============
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Ubuntu 12.04
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Attributes
|
|
|
|
==========
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
* `node['statsd']['port']` - The port for Statsd to listen for stats on. Defaults to 8125
|
|
|
|
* `node['statsd']['graphite_host']` - The host to forward processed statistics to. Defaults to localhost.
|
|
|
|
* `node['statsd']['graphite_port']` - The port to forward processed statistics to. Defaults to 2003
|
|
|
|
* `node['statsd']['package_version']` - The version to use when creating the package. Defaults to 0.6.0
|
|
|
|
* `node['statsd']['tmp_dir']` - The temporary directory to while building the package. Defaults to /tmp
|
|
|
|
* `node['statsd']['repo']` - The gitrepo to use. Defaults to "git://github.com/etsy/statsd.git"
|
|
|
|
* `node['statsd']['sha']` - The sha checksum of the repo to use
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Usage
|
|
|
|
=====
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Including this recipe will build a dpkg from the statsd git repository and install it.
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
By default statsd will attempt to send statistics to a graphite instance running on localhost.
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Testing
|
|
|
|
=======
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
$ bundle install
|
|
|
|
$ bundle exec berks install
|
|
|
|
$ bundle exec strainer test
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
License and Author
|
|
|
|
==================
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Author:: Scott Lampert (<sl724q@att.com>)
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Copyright 2012-2013, AT&T Services, Inc.
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2013-11-12 10:24:04 -05:00
|
|
|
|
2013-12-26 14:14:17 -05:00
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|