As a complement to quantile(s) aggregation function, it could be useful to have a histogram aggregation function based on https://github.com/HdrHistogram/HdrHistogram_c where you specify the min, max and signifcant figures and it then bucketizes values into the histogram and returns it.