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
Go to the pom.xml file in Maven project and add dependencies::
<dependency>
<groupId>org.pipservices3</groupId>
<artifactId>pip-services3-prometheus</artifactId>
<version>3.0.0</version>
</dependency>
For development you shall install the following prerequisites:
- Java SE Development Kit 18+
- Eclipse Java Photon or another IDE of your choice
- Docker
- Apache Maven
Build the project:
mvn install
Run automated tests:
mvn test
Generate API documentation:
./docgen.ps1
Before committing changes run dockerized build and test as:
./build.ps1
./test.ps1
./clear.ps1
The initial implementation is done by Sergey Seroukhov Danil Prisiazhnyi