Documentation ¶
Index ¶
- type Service
- func (service *Service) AddHistogramValue(name string, labels map[string]string, observe float64)
- func (service *Service) Close() error
- func (service *Service) Counter(name string) *prometheus.CounterVec
- func (service *Service) DecGaugeValue(name string, labels map[string]string)
- func (service *Service) Gauge(name string) *prometheus.GaugeVec
- func (service *Service) Histogram(name string) *prometheus.HistogramVec
- func (service *Service) IncGaugeValue(name string, labels map[string]string)
- func (service *Service) IncrementCounter(name string, labels map[string]string)
- func (service *Service) RegisterCounter(name, help string, labels ...string)
- func (service *Service) RegisterGauge(name, help string, labels ...string)
- func (service *Service) RegisterGoBuildMetrics()
- func (service *Service) RegisterHistogram(name, help string, labels ...string)
- func (service *Service) SetGaugeValue(name string, labels map[string]string, observe float64)
- func (service *Service) Start()
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 (*Service) AddHistogramValue ¶ added in v0.1.50
AddHistogramValue -
func (*Service) Counter ¶
func (service *Service) Counter(name string) *prometheus.CounterVec
Counter -
func (*Service) DecGaugeValue ¶ added in v0.1.51
DecGaugeValue -
func (*Service) Gauge ¶ added in v0.1.51
func (service *Service) Gauge(name string) *prometheus.GaugeVec
Gauge -
func (*Service) Histogram ¶ added in v0.1.50
func (service *Service) Histogram(name string) *prometheus.HistogramVec
Histogram -
func (*Service) IncGaugeValue ¶ added in v0.1.51
IncGaugeValue -
func (*Service) IncrementCounter ¶
IncrementCounter -
func (*Service) RegisterCounter ¶
RegisterCounter -
func (*Service) RegisterGauge ¶ added in v0.1.51
RegisterGauge -
func (*Service) RegisterGoBuildMetrics ¶
func (service *Service) RegisterGoBuildMetrics()
RegisterGoBuildMetrics -
func (*Service) RegisterHistogram ¶ added in v0.1.50
RegisterHistogram -
func (*Service) SetGaugeValue ¶ added in v0.1.51
SetGaugeValue -
Click to show internal directories.
Click to hide internal directories.