Test::Statsd - Test harness for any statsd server daemon
Embeds the logic to perform integration tests of any statsd daemon that can be launched from the command line.
Usage:
my $t = Test::Statsd->new({ binary => './bin/statsd', config => './bin/sample-config.json' }); # Brings up the statsd server in the background # with the specified configuration, and stores its pid $t->start_statsd();
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.