package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/component-base.git
Documentation: pkg.go.dev
# Functions
NewTestableTimingHistogram creates a TimingHistogram that uses a mockable clock.
No description provided by the author
NewTimingHistogram creates a new TimingHistogram.
No description provided by the author
NewWeightedHistogram creates a new WeightedHistogram.
No description provided by the author
# Structs
TimingHistogramOpts is the parameters of the TimingHistogram constructor.
No description provided by the author
WeightedHistogramVec implements WeightedObserverVec.
# Interfaces
GaugeOps is the part of `prometheus.Gauge` that is relevant to instrumented code.
GaugeVecOps is a bunch of Gauge that have the same Desc and are distinguished by the values for their variable labels.
A TimingHistogram tracks how long a `float64` variable spends in ranges defined by buckets.
WeightedHistogram generalizes Histogram: each observation has an associated _weight_.
WeightedObserver generalizes the Observer interface.
WeightedObserverVec is a bunch of WeightedObservers that have the same Desc and are distinguished by the values for their variable labels.
# Type aliases
WeightedHistogramOpts is the same as for an ordinary Histogram.