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

type WeightedHistogram

type WeightedObserver

type WeightedHistogramOpts

// NewWeightedHistogram creates a new WeightedHistogram
func NewWeightedHistogram(opts WeightedHistogramOpts) (WeightedHistogram, error) {}

func wrapWeightedHelp(given string) string {}

func newWeightedHistogram(desc *prometheus.Desc, opts WeightedHistogramOpts, variableLabelValues ...string) (*weightedHistogram, error) {}

type weightedHistogram

const initialHotCount

var _

var _

var _

func (sh *weightedHistogram) ObserveWithWeight(value float64, weight uint64) {}

func (sh *weightedHistogram) observeWithWeightLocked(value float64, weight uint64) {}

func (sh *weightedHistogram) updateLocked(idx int, value float64, weight uint64) {}

func (sh *weightedHistogram) Desc() *prometheus.Desc {}

func (sh *weightedHistogram) Write(dest *dto.Metric) error {}

func (sh *weightedHistogram) Describe(ch chan<- *prometheus.Desc) {}

func (sh *weightedHistogram) Collect(ch chan<- prometheus.Metric) {}