kubernetes/staging/src/k8s.io/component-base/metrics/prometheusextension/timing_histogram.go

type GaugeOps

type TimingHistogram

type TimingHistogramOpts

// NewTimingHistogram creates a new TimingHistogram
func NewTimingHistogram(opts TimingHistogramOpts) (TimingHistogram, error) {}

// NewTestableTimingHistogram creates a TimingHistogram that uses a mockable clock
func NewTestableTimingHistogram(nowFunc func() time.Time, opts TimingHistogramOpts) (TimingHistogram, error) {}

func wrapTimingHelp(given string) string {}

func newTimingHistogram(nowFunc func() time.Time, desc *prometheus.Desc, opts TimingHistogramOpts, variableLabelValues ...string) (TimingHistogram, error) {}

type timingHistogram

var _

func (th *timingHistogram) Set(newValue float64) {}

func (th *timingHistogram) Inc() {}

func (th *timingHistogram) Dec() {}

func (th *timingHistogram) Add(delta float64) {}

func (th *timingHistogram) Sub(delta float64) {}

func (th *timingHistogram) SetToCurrentTime() {}

func (th *timingHistogram) update(updateFn func(float64) float64) {}

func (th *timingHistogram) Desc() *prometheus.Desc {}

func (th *timingHistogram) Write(dest *dto.Metric) error {}

func (th *timingHistogram) Describe(ch chan<- *prometheus.Desc) {}

func (th *timingHistogram) Collect(ch chan<- prometheus.Metric) {}