Skip to main content

pytest plugin for reporting to graphite

Project description

pytest-statsd

Build Status PyPI version Python version License Status Requirements Status Documentation Status Maintainability

Installation

Install through pip:

pip install pytest-statsd

Install from source:

cd /path/to/source/pytest-statsd
python setup.py install

Example

To simply run using default the configuration, use:

pytest --stats-d tests/

If there is a need to configure where to sent results to other than localhost:8125, use:

pytest --stats-d --stats-host http://myserver.com --stats-port 3000 tests/

You can also prefix your results if you plan on having multiple projects sending results to the same server:

pytest --stats-d --stats-prefix myproject test/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-statsd-1.1.6.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pytest_statsd-1.1.6-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page