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
Get the package from the Github repository:
go get -u github.com/pip-services4/pip-services4-go/tree/main/pip-services4-prometheus-go@latest