Components for working with meters in the Prometheus service. The PrometheusCounters and PrometheusMetricsController components allow you to work both, in client mode through PushGateway and as a service.
Packages
The module contains the following packages:
- Build - default factories for constructing components.
- Count - components of counters (metrics) used to send data to Prometheus via PushGateway.
- Controllers - components of the controller for reading counters (metrics) by the Prometheus controller
Use
Add dependency to the pom.xml:
<dependency>
<groupId>org.pipservices</groupId>
<artifactId>pip-services4-prometheus</artifactId>
<version>[0.0.1,)</version>
</dependency>