Prometheus components for Pip.Services in Python
Project description
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
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
File details
Details for the file pip_services3_prometheus-3.1.2.tar.gz
.
File metadata
- Download URL: pip_services3_prometheus-3.1.2.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb58697caa744334396c0a0012c4296d152e590bfdfdb1664b954bc21ed4af31 |
|
MD5 | 694525c664f4201014e2483958237b6c |
|
BLAKE2b-256 | 2689415ca1e09d6132ca8ca9dbd2dc67840e7101b6b0192cc9d84bc4f7f2c3fc |