1.0.1 • Published 3 years ago
pip-services3-prometheus-nodex v1.0.1
Prometheus components for Pip.Services in Node.js / ES2017
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
Quick links:
Use
Install the NPM package as
npm install pip-services3-prometheus-nodex --saveDevelop
For development you shall install the following prerequisites:
- Node.js 8+
- Visual Studio Code or another IDE of your choice
- Docker
- Typescript
Install dependencies:
npm installCompile the code:
tscRun automated tests:
npm testGenerate API documentation:
./docgen.ps1Before committing changes run dockerized build and test as:
./build.ps1
./test.ps1
./clear.ps1Contacts
The library is created and maintained by Sergey Seroukhov.
The documentation is written by:
- Mark Makarychev