NegativeBucketIterator returns a BucketIterator to iterate over all negative buckets in descending order (starting next to the zero bucket and going down).
()
| 221 | // NegativeBucketIterator returns a BucketIterator to iterate over all negative |
| 222 | // buckets in descending order (starting next to the zero bucket and going down). |
| 223 | func (h *Histogram) NegativeBucketIterator() BucketIterator[uint64] { |
| 224 | it := newRegularBucketIterator(h.NegativeSpans, h.NegativeBuckets, h.Schema, false, nil) |
| 225 | return &it |
| 226 | } |
| 227 | |
| 228 | // CumulativeBucketIterator returns a BucketIterator to iterate over a |
| 229 | // cumulative view of the buckets. This method currently only supports |