Prometheus components for Python
This module is a part of the Pip.Services polyglot microservices toolkit.
The module contains components for working with meters in the Prometheus service. The PrometheusCounters and PrometheusMetricsService components allow you to work both in client mode through PushGateway, and as a service.
The module contains the following packages:
- Build - the default factories for constructing components.
- Count - components of counters (metrics) with sending data to Prometheus via PushGateway
- Services - components of the service for reading counters (metrics) by the Prometheus service
Use
Install the Python package as
pip install pip_services3_prometheus
Develop
For development you shall install the following prerequisites:
- Python 3.7+
- Visual Studio Code or another IDE of your choice
- Docker
Install dependencies:
pip install -r requirements.txt
Run automated tests:
python test.py
Generate API documentation:
./docgen.ps1
Before committing changes run dockerized build and test as:
./build.ps1
./test.ps1
./clear.ps1
Contacts
The module is created and maintained by:
- Sergey Seroukhov
- Danil Prisiazhnyi
Metadata
Release files for pip-services3-prometheus 3.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pip_services3_prometheus-3.1.2.tar.gz | 12.5 kB | Without provenance | Details for pip_services3_prometheus-3.1.2.tar.gz |
Release files / pip_services3_prometheus-3.1.2.tar.gz
| Download URL | pip_services3_prometheus-3.1.2.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb58697caa744334396c0a0012c4296d152e590bfdfdb1664b954bc21ed4af31
|
|
BLAKE2b-256 checksum How to use checksums |
2689415ca1e09d6132ca8ca9dbd2dc67840e7101b6b0192cc9d84bc4f7f2c3fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2
|
Security for pip-services3-prometheus 3.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.