Description
Currently quantiles are used for latencies, where lower numeric value is better.
Hence p90 gives us a value val(p90) such that 90% of our sample set has a value better (lower) than val(p90)
However for metrics such as calculating transfer rates (eg : HDFS-16917 ) higher numeric value is better. Thus for such metrics the current quantiles dont work.
For these metrics in order for p90 to give a value val(p90) where 90% of the sample set is better (higher) than val(p90) we need to inverse the selection by choosing a value at the (100 - 90)th location instead of the usual 90th position.