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



Annotate this POD


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


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


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

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:

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 :-)


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:


Cosimo Streppone, <>


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 :-)

syntax highlighting: