histogauge

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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 Histogauge

type Histogauge interface {
	GaugeVec() *prometheus.GaugeVec
	Add(prometheus.Labels, float64)
	Remove(prometheus.Labels, float64)
	Replace(prometheus.Labels, float64, float64)
}

At the moment, this is more a hack than a proper abstraction. It does not implement the proper metric interface and is just a shim on top of GaugeVec.

func NewHistogauge

func NewHistogauge(opts prometheus.GaugeOpts, labelNames []string, buckets []float64) Histogauge

Jump to

Keyboard shortcuts

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