metrics

package
v16.6.6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 1 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 interface {
	Inc()
	Add(float64)
}

Counter is a subset of a prometheus Counter

type Gauge

type Gauge interface {
	Inc()
	Dec()
}

Gauge is a subset of a prometheus Gauge

type Histogram

type Histogram interface {
	Observe(float64)
}

Histogram is a subset of a prometheus Histogram

type HistogramVec

type HistogramVec interface {
	WithLabelValues(lvs ...string) prometheus.Observer
	Collect(chan<- prometheus.Metric)
	Describe(chan<- *prometheus.Desc)
}

HistogramVec is a subset of a prometheus HistogramVec

Jump to

Keyboard shortcuts

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