2 ms·
My own solution, which might be useful to those using javascript (nodejs or browser): I use mathjs.quantileSeq() and log 0%, 25%, 50%, 75%, and 100%. This se
by novaleaf 8y ago
My own solution, which might be useful to those using javascript (nodejs or browser):
I use mathjs.quantileSeq() and log 0%, 25%, 50%, 75%, and 100%. This seems to be good for "casual metric logs".
I've found that this gives a good shape of the data, as well as the absolute min/max values. If you use 1% or 99% you'll miss the absolute worst performers, and I want to be at least aware of what the worst performance numbers are.
https://mathjs.org/ https://mathjs.org/
https://mathjs.org/docs/reference/functions/quantileSeq.html https://mathjs.org/docs/reference/functions/quantileSeq.html