package
Version:
v0.11.1
Opens a new window with list of versions in this module.
Published: Jan 6, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Counter struct {
LabelValues []string
CounterValue float64
}
Counter is a stub implementation of the go-kit metrics.Counter interface.
Add adds the given value to the counter.
With returns a new Counter with the given label values.
Gauge is a stub implementation of the go-kit metrics.Gauge interface.
Add adds the given value to the gauge.
Set sets the gauge value.
With returns a new Gauge with the given label values.
type Histogram struct {
LabelValues []string
ObservedValue float64
}
Histogram is a stub implementation of the go-kit metrics.Histogram interface.
Observe records the given value.
With returns a new Histogram with the given label values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.