Forge Home

statsd

Install and manage StatsD.

9,228 downloads

9,228 latest version

2.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 2.0.3 (latest)
released May 28th 2015
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 3.x
  • RedHat, CentOS, Ubuntu, Debian

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'm6web-statsd', '2.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add m6web-statsd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install m6web-statsd --version 2.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

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