prometheus

package module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 3 Imported by: 0

README

Pip.Services Logo
Prometheus components for Golang

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

Get the package from the Github repository:

go get -u github.com/pip-services3-go/pip-services3-prometheus-go@latest

Develop

For development you shall install the following prerequisites:

  • Golang v1.12+
  • Visual Studio Code or another IDE of your choice
  • Docker
  • Git

Run automated tests:

go test -v ./test/...

Generate API documentation:

./docgen.ps1

Before committing changes run dockerized test as:

./test.ps1
./clear.ps1

Contacts

The library is created and maintained by Sergey Seroukhov and Levichev Dmitry.

The documentation is written by:

  • Levichev Dmitry

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL