Net::Statsd::Server::Changes - Change history for Net::Statsd::Server
Started converting the nodejs statsd test suite to TAP test cases. Completed the conversion of the metrics processing test cases. This uncovered two subtle bugs in the metrics class. Fixed bug in calculation of percentile values threshold, due to a difference in how Javascript's Math.round() and Perl's int() work. Fixed undefined value warning in the metrics processing during the calculation of cumulative values for timers, due to an off-by-one error.
Added new File backend. It allows to flush all aggregated stats to a given log file. Added keyFlush implementation. Allows to have the top n% (keyFlush.percent) dumped to a log file (keyFlush.log) or stdout every y seconds (keyFlush.interval).
Improved UDP socket default settings to perform better. In my tests, Net::Statsd::Server manages to successfully capture almost twice the amount of UDP traffic (otherwise lost) than the original node.js based statsd, with SO_RCVBUF = 8Mb. I still have to experiment a bit more with this setting though.
Fixed statistics flush. When a flush is triggered, stats have to be cleared. The flush code wasn't doing this previously. Fixed management commands (:8126) to output correct JSON data structures. This is the first fully functional statsd server release.
First release on an unsuspecting world.
To install Net::Statsd::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Statsd::Server
CPAN shell
perl -MCPAN -e shell install Net::Statsd::Server
For more information on module installation, please visit the detailed CPAN module installation guide.