Expand description
Prometheus HistogramQuantile, HistogramFraction and the histogramVariance estimate over
one native histogram, with the bucket iteration of model/histogram.
StructsΒ§
- Native
Bucket π
ConstantsΒ§
FunctionsΒ§
- all_
buckets π - The buckets of
hfrom the lowest to the highest, or the reverse: negative buckets, the zero bucket when it has observations, then positive buckets (GoAllBucketIteratorandAllReverseBucketIterator). Buckets overlapping the zero bucket are clipped to it. - bound π
- Go
getBound. - bucket π
- fraction π
- Prometheus
HistogramFraction. - fraction_
below_ πexponential - Go
Bucket.FractionBelowwith exponential interpolation. - go_
string π - Go
FloatHistogram.String, the formcount_valueswrites a histogram value in: the count and sum, then the buckets holding observations from the lowest up β negative, zero, positive β each as[lower,upper):countwith its boundsβ inclusiveness, every number in Goβs%g. Unlikeall_buckets, the buckets keep the bounds their index gives, unclipped by the zero bucket. - invalid_
layout π - ldexp π
- Go
math.Ldexpfor a positive normalfrac. - push_
bucket π - Go
Bucket.String, with the inclusivenessbaseBucketIterator.atgives the bucket. - quantile π
- Prometheus
HistogramQuantile. - side π
- Appends the buckets of one side by increasing index.
- variance π
- Prometheus
histogramVariance: bucket midpoints weighted by count around the mean.