prometheus/model
Ganesh Vernekar 4a43349aca
histogram_quantile for sparse histograms (#9935)
* MergeFloatBucketIterator for []FloatBucketIterator

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* histogram_quantile for histograms

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix histogram_quantile

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Unit test and enhancements

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Iterators to iterate buckets in reverse and all buckets together including zero bucket

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Consider all buckets for histogram_quantile and fix the implementation

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Remove unneeded code

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-12-06 19:17:22 +05:30
..
exemplar Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
histogram histogram_quantile for sparse histograms (#9935) 2021-12-06 19:17:22 +05:30
labels Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
relabel Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
rulefmt Expose Error function for WrappedError (#9662) 2021-11-12 17:38:59 -05:00
textparse Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00