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
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 | |
|---|---|---|---|
| pip_services3_prometheus-3.1.2.tar.gz | 12.5 kB | Details |
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
|