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
Metadata
Release files for pytest-prometheus-pushgw 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_prometheus_pushgw-0.1.1.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_prometheus_pushgw-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / pytest_prometheus_pushgw-0.1.1.tar.gz
| Download URL | pytest_prometheus_pushgw-0.1.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc7434db8698d3b408fed66de27b358364031a67e73e0b565257fe0ca20b6270
|
|
BLAKE2b-256 checksum How to use checksums |
832be34059699cee4644e2ee00c3586db30ca05d3699d2299a841cfb0102b15b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / pytest_prometheus_pushgw-0.1.1-py2.py3-none-any.whl
| Download URL | pytest_prometheus_pushgw-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
689f9a5091f39401e6a364b7b5ac3783057e143aeff72be3ec2210915d83617f
|
|
BLAKE2b-256 checksum How to use checksums |
6565191d313edd58c9b848b29b884bda07d0f3f2b8dd5137d3dd3e5e1c4de3c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|