Cosimo Streppone > Net-Statsd-Server-0.07 > Net::Statsd::Server

Download:
Net-Statsd-Server-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.07   Source   Latest Release: Net-Statsd-Server-0.13

NAME ^

Net::Statsd::Server - a Perl port of Flickr/Etsy's statsd metrics daemon

DESCRIPTION ^

For the statsd client library, check out the Net::Statsd module:

  https://metacpan.org/module/Net::Statsd

Net::Statsd::Server is the server component of statsd. It implements a daemon that listens on a given host/port for incoming UDP packets and dispatches them to whatever you want, including Graphite or your console. Look into the Net::Statsd::Server::Backend::* namespace to know all the possibilities, or write a backend yourself.

USES ^

So, what do you use a statsd daemon for? You use it to track metrics of all sorts.

Background information here:

  http://codeascraft.etsy.com/2011/02/15/measure-anything-measure-everything/

MOTIVATION ^

Why did I do this? There's already a gazillion implementations of statsd. The original one from Cal Henderson/Flickr was not released as a complete working software AFAIK:

  https://github.com/iamcal/Flickr-StatsD

then Etsy rewrote it as Javascript to run under node.js. Other implementations range from C to Python, etc...

I wrote one in Perl for a few reasons:

Basically, to learn :-)

HOW TO USE THIS MODULE ^

You shouldn't need any instructions to use it. It comes with batteries included.

There is a bin/statsd script included in the CPAN distribution, together with a bunch of example configuration files that should get you up and running in no time.

I have tried to keep compatibility with the node.js version of statsd as much as I could, so you can literally use the same configuration files, bar a conversion from javascript to JSON format.

You can also consult the node-statsd documentation, up on Github as well:

  https://github.com/etsy/statsd

AUTHORS ^

Cosimo Streppone, <cosimo@cpan.org>

COPYRIGHT ^

The Net::Statsd::Server module is Copyright (c) 2013 Cosimo Streppone. All rights reserved.

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl 5.10.0 README file.

CONTRIBUTING ^

If you want to send patches or contribute, the easiest way is to pull the source code repository hosted at Github:

  https://github.com/cosimo/perl5-net-statsd-server

ACKNOWLEDGEMENTS ^

Many thanks to my awesome wife that coped with me trying to write this in a single weekend, leaving barely any time for anything else.

Many thanks to my current employer, Opera Software, for at least partly, sponsoring development of this module. Technically, Opera is sponsoring me trying it in production :-)

syntax highlighting: