prometheus

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service -

func NewService

func NewService(cfg *config.Prometheus) *Service

NewService -

func (*Service) Close

func (service *Service) Close() error

Close -

func (*Service) Counter

func (service *Service) Counter(name string) *prometheus.CounterVec

Counter -

func (*Service) IncrementCounter

func (service *Service) IncrementCounter(name string, labels map[string]string)

IncrementCounter -

func (*Service) RegisterCounter

func (service *Service) RegisterCounter(name, help string, labels ...string)

RegisterCounter -

func (*Service) RegisterGoBuildMetrics

func (service *Service) RegisterGoBuildMetrics()

RegisterGoBuildMetrics -

func (*Service) Start

func (service *Service) Start()

Start -

Jump to

Keyboard shortcuts

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