1Test::Statsd(3) User Contributed Perl Documentation Test::Statsd(3)
2
3
4
6 Test::Statsd - Test harness for any statsd server daemon
7
9 Embeds the logic to perform integration tests of any statsd daemon that
10 can be launched from the command line.
11
12 Usage:
13
14 my $t = Test::Statsd->new({
15 binary => './bin/statsd',
16 config => './bin/sample-config.json'
17 });
18
19 # Brings up the statsd server in the background
20 # with the specified configuration, and stores its pid
21 $t->start_statsd();
22
23
24
25perl v5.36.0 2023-01-20 Test::Statsd(3)