Version information
released May 28th 2015
This version is compatible with:
- Puppet Enterprise 3.x
- Puppet 3.x
- RedHat, CentOS, Ubuntu, Debian
Start using this module
Add this module to your Puppetfile:
mod 'm6web-statsd', '2.0.3'
Learn more about managing modules with a PuppetfileDocumentation
m6web/statsd — version 2.0.3 May 28th 2015
puppet-statsd
Manage StatsD with Puppet
Synopsis
class { 'statsd':
provider => npm,
}
statsd::instance { '1':
graphite_server => 'my.graphite.server',
flush_interval => 1000, # flush every second
percent_threshold => [75, 90, 99],
address => '10.20.1.2',
port => 2158,
mgmt_port => 2159
}
statsd::proxy { '1':
address => '10.20.1.4',
port => 2158,
nodes => [
{ host => '10.20.1.2', port => 2158, adminport => 2159 },
{ host => '10.20.1.3', port => 2158, adminport => 2159 }
]
}
Notes
To ensure that you have a fairly recent version of StatsD, it's recommended that you install StatsD via npm. The most recent version of StatsD in Debian Sid is 0.0.2, which is so old that the current documentation doesn't even remotely apply.
Contributors
- Thanks to Ben Hughes (ben@puppetlabs.com) for initial implementation
- Adrien Thebo adrien@puppetlabs.com
CHANGELOG
2.0.3
Trivial update
- Typo fixes in readme
- Update this changelog for previous releases
2.0.2
- Replace Modulefile with metadata.json
2.0.1
- Fix status in init script
2.0.0
This is a non backward compatible update.
- Use resource definition to allow multiple instances of StatsD
- Add resource statsd::proxy for proxy.js
1.0.2
2012-12-03
Trivial update to readme.
1.0.1
2012-12-03
This is a backwards compatible bugfix release.
- statsd init script stop action actually stops the service.
- Fix module metadata
1.0.0
2012-11-12
- Initial release
Dependencies
- puppetlabs/nodejs (>= 0.2.0)
Copyright 2012 Puppet Labs 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 http://www.apache.org/licenses/LICENSE-2.0 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.