type WeightedHistogram …
type WeightedObserver …
type WeightedHistogramOpts …
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) { … }