Crate histogram

source ·


  • A Bucket represents a discrete range of values and the sum of recorded counts within this range.
  • A Builder allows for constructing a Histogram with the desired configuration.
  • A Histogram groups recorded values into buckets of similar values and tracks counts for recorded values that fall into those ranges.
  • A Percentile represents a quantile reading taken from a histogram.


  • Possible errors returned by operations on a histogram.