Net::Statsd::Server - a Perl port of Flickr/Etsy's statsd metrics daemon
For the statsd client library,
check out the
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.
So, what do you use a
statsd daemon for? You use it to track metrics of all sorts.
Background information here:
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:
I wrote one in Perl for a few reasons:
Basically, to learn :-)
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.
You can also consult the node-statsd documentation, up on Github as well:
Cosimo Streppone, <email@example.com>
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.
If you want to send patches or contribute, the easiest way is to pull the source code repository hosted at Github:
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 :-)