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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page