monasca-agent/utilities/statsd-gen
gary-hessler e744ffa377 Fixing issue with readme 2014-04-09 10:28:50 -06:00
..
README.md Fixing issue with readme 2014-04-09 10:28:50 -06:00
__init__.py Adding a statsd generator utility for testing of statsd metrics 2014-04-09 10:25:32 -06:00
generator.conf Adding a statsd generator utility for testing of statsd metrics 2014-04-09 10:25:32 -06:00
generator.py Adding a statsd generator utility for testing of statsd metrics 2014-04-09 10:25:32 -06:00

README.md

Python Dogstatsd Generator

This test tool will create dogstatsd metrics and send them to the monitoring agent. To use it, you will need to install the following python libraries:

sudo apt-get install python-setuptools
sudo easy_install dogstatsd-python

Usage

To run the generator:

1) edit the config file (generator.conf) and set the target host, port, number of
iterations and delay (in seconds) between iterations.
2) cd to the statsd-gen directory
3) Type ./generator.py
4) The tool will send 4 different types of dogstatsd messages and then sleep for
the duration of the delay and then will continue to the next iteration until the
number of iterations is reached.