Pytest plugin to export test metrics to Prometheus Pushgateway
Project description
pytest_prometheus_pushgw
A lightweight pytest plugin to export test execution metrics to Prometheus Pushgateway.
🚀 Features
- Automatically tracks:
- Test pass/fail status
- Test duration
- Test execution counts
- Histogram and summary of durations
- Pushes metrics to Prometheus Pushgateway after each test
🧪 Installation
pip install pytest_prometheus_pushgw
- Variables
PUSH_GW_URL: To set push gateway URL. Default is:localhost:9091JOB_NAME: To set job name. Default is:pytest_execution_result_job
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_prometheus_pushgw-0.1.0.tar.gz.
File metadata
- Download URL: pytest_prometheus_pushgw-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e93e3a672db972f176558ff4df414dedab6eb4976d9aaca2e31912344c2606a
|
|
| MD5 |
42db6c363cb5efd95d2acabc69289a1c
|
|
| BLAKE2b-256 |
ea03c13d6f4f52f8574ecacf5482f28d6c2d2babd363c8bc92931ef81d0122d3
|
File details
Details for the file pytest_prometheus_pushgw-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: pytest_prometheus_pushgw-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcc65efa45c59bfc244ab7754419ee9ccf3ceb4b23b40012962d8ff45f60761f
|
|
| MD5 |
02794936746ea585e063afbbf02ec0b3
|
|
| BLAKE2b-256 |
5a47215efa416e6a99ec814fcf0cc238625e52be4e3e7216cdf135b603cf3964
|