5 statsd-tg - Traffic generator for StatsD.
9 statsd-tg B<-c> I<counters_num> B<-t> I<timers_num> B<-g> I<gauges_num>
10 B<-s> I<sets_num> B<-S> I<set_size> B<-d> I<dest> B<-D> I<dport> B<-T> I<threads_num>
14 B<statsd-tg> generates dummy I<StatsD> network traffic. The names of the
15 metrics are pseudo-random, i.e. they should look random but two invokations
16 with the same arguments should produce the same set of metrics. The values of
17 these metrics and the frequency with which each metric is sent is
18 unpredictable, though.
20 You can use the B<-c>, B<-t>, B<-g> and B<-s> options to control the number of
21 counters, timers, gauges and sets to closely match your real traffic.
23 =head1 ARGUMENTS AND OPTIONS
25 The following options are understood by I<statsd-tg>. The order of the
26 arguments generally doesn't matter, as long as no argument is passed more than
31 =item B<-c> I<counters_num>
33 The number of metrics with type I<counter> to simulate. Defaults to B<1000>.
35 =item B<-t> I<timers_num>
37 The number of metrics with type I<timer> to simulate. Defaults to B<1000>.
39 =item B<-g> I<gauges_num>
41 The number of metrics with type I<gauge> to simulate. Defaults to B<100>.
43 =item B<-s> I<sets_num>
45 The number of metrics with type I<set> to simulate. Defaults to B<100>.
47 =item B<-S> I<set_size>
49 The number of unique values in each metric of type I<set>. Defaults to B<128>.
53 Sets the destination to which to send the generated network traffic. Defaults
58 Sets the destination port or service to which to send the generated network
59 traffic. Defaults to I<StatsD's> default port, C<8125>.
61 =item B<-T> I<threads_num>
63 Number of threads to start to generate dummy traffic. Defaults to the number of
64 online CPUs on your system, if it can be read. Otherwise defaults to a single
75 L<https://github.com/etsy/statsd/>
79 Florian Forster E<lt>ffE<nbsp>atE<nbsp>octo.itE<gt>