prometheus

package
v0.0.0-...-65429f0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GaugeVec

type GaugeVec struct {
	prometheus.GaugeVec
}

func NewPrometheusGaugeVec

func NewPrometheusGaugeVec(name, description string, labels map[string]string, metricLabel []string) (c GaugeVec)

func (*GaugeVec) AddWith

func (c *GaugeVec) AddWith(labels map[string]string, v float64)

type Histogram

type Histogram struct {
	prometheus.Histogram
}

func NewHistogram

func NewHistogram(name, description string, labels map[string]string) (c Histogram, err error)

func (*Histogram) Observe

func (c *Histogram) Observe(v float64)

type HistogramVec

type HistogramVec struct {
	prometheus.HistogramVec
}

func NewPrometheusHistogramVec

func NewPrometheusHistogramVec(name, description string, labels map[string]string, metricLabel []string) (c HistogramVec)

func (*HistogramVec) ObserveWith

func (c *HistogramVec) ObserveWith(labels map[string]string, v float64)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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