prometheus

package
v0.0.0-...-da8027b Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

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

func NewCounter

func NewCounter(c *prometheus.CounterVec) *Counter

func (*Counter) Add

func (c *Counter) Add(delta float64)

func (*Counter) With

func (c *Counter) With(labelValues ...string) metrics.Counter

type Gauge

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

func NewGauge

func NewGauge(g *prometheus.GaugeVec) *Gauge

func (*Gauge) Add

func (g *Gauge) Add(delta float64)

func (*Gauge) Set

func (g *Gauge) Set(value float64)

func (*Gauge) With

func (g *Gauge) With(labelValues ...string) metrics.Gauge

type Histogram

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

func NewHistogram

func NewHistogram(h *prometheus.HistogramVec) *Histogram

func (*Histogram) Observe

func (h *Histogram) Observe(value float64)

func (*Histogram) With

func (h *Histogram) With(labelValues ...string) metrics.Histogram

type Summary

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

func NewSummary

func NewSummary(s *prometheus.SummaryVec) *Summary

func (*Summary) Observe

func (s *Summary) Observe(value float64)

func (*Summary) With

func (s *Summary) With(labelValues ...string) metrics.Histogram

Jump to

Keyboard shortcuts

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