=encoding UTF-8 =head1 NAME statsd-tg - Traffic generator for StatsD. =head1 SYNOPSIS statsd-tg B<-c> I B<-t> I B<-g> I B<-s> I B<-S> I B<-d> I B<-D> I B<-T> I =head1 DESCRIPTION B generates dummy I network traffic. The names of the metrics are pseudo-random, i.e. they should look random but two invokations with the same arguments should produce the same set of metrics. The values of these metrics and the frequency with which each metric is sent is unpredictable, though. You can use the B<-c>, B<-t>, B<-g> and B<-s> options to control the number of counters, timers, gauges and sets to closely match your real traffic. =head1 ARGUMENTS AND OPTIONS The following options are understood by I. The order of the arguments generally doesn't matter, as long as no argument is passed more than once. =over 4 =item B<-c> I The number of metrics with type I to simulate. Defaults to B<1000>. =item B<-t> I The number of metrics with type I to simulate. Defaults to B<1000>. =item B<-g> I The number of metrics with type I to simulate. Defaults to B<100>. =item B<-s> I The number of metrics with type I to simulate. Defaults to B<100>. =item B<-S> I The number of unique values in each metric of type I. Defaults to B<128>. =item B<-d> I Sets the destination to which to send the generated network traffic. Defaults to B. =item B<-D> I Sets the destination port or service to which to send the generated network traffic. Defaults to I default port, C<8125>. =item B<-T> I Number of threads to start to generate dummy traffic. Defaults to the number of online CPUs on your system, if it can be read. Otherwise defaults to a single thread. =item B<-h> Print usage summary. =back =head1 SEE ALSO L =head1 AUTHOR Florian Forster EffEatEocto.itE =cut