<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Percentiles cannot be calculated incrementally; you need the entire dataset to deduce them whereas mean, max, min only require the last calculation result and possibly the number
 of samples so far.  Hence you cannot have the percentile as a CF<br>
<br>
However the RRDTool RPN functions include a percentile calculator, so you can still deduce this on the fly as you graph using the available samples.  You would need to be careful to ensure that the data series over which you are aggregating is of maximum granularity
 though if you want to ensure maximum accuracy<br>
<br>
Steve<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><strong>Steve Shipway</strong></div>
<div style="font-family:Tahoma; font-size:13px">University of Auckland ITS</div>
<div style="font-family:Tahoma; font-size:13px"><em>UNIX Systems Design Lead</em></div>
<div style="font-family:Tahoma; font-size:13px"><a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a></div>
<div style="font-family:Tahoma; font-size:13px">Ph: +64 9 373 7599 ext 86487</div>
<div style="font-family:Tahoma; font-size:13px"><em></em> </div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF286601"><font face="Tahoma" color="#000000" size="2"><b>From:</b> rrd-users [rrd-users-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch] on behalf of Pablo Chacin [pchacin@sensefields.com]<br>
<b>Sent:</b> Saturday, 24 October 2015 11:43 p.m.<br>
<b>To:</b> rrd-users@lists.oetiker.ch<br>
<b>Subject:</b> [rrd-users] Percentile consolidation<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>Greetings</div>
<div><br>
</div>
<div>Been able to pre-calculate an store certain data percentiles, like media an 95 percentile is a common requirement for any metrics database, as these aggregation functions are much more stable and representative of data than the average or maximun values.</div>
<div><br>
</div>
<div>I saw that the mean was recently included as an consolidation function in rrdtool, but still there's no possible to calculate other arbitrary percentiles. Interestingly, percentiles have been available when retrieving data for graphs or reporting.</div>
</div>
<div><br>
</div>
<div>Is there any compiling reason not to include percentiles as consolidation functions? Is there any plan to do so in the future?</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div style="font-family:arial; font-size:small">---------------------------</div>
<div style="font-family:arial; font-size:small">Pablo Chacin</div>
<div style="font-family:arial; font-size:small">CTO</div>
<div style="font-family:arial; font-size:small">SenseFields SL</div>
<div style="font-family:arial; font-size:small">Tlf (+34) 93 <a value="+34932504598" style="color:rgb(17,85,204)">250 45 98</a></div>
<div style="font-family:arial; font-size:small">Gran Via 674, principal 1º</div>
<div style="font-family:arial; font-size:small">08010 Barcelona, Spain</div>
<div style="font-family:arial; font-size:small"><a href="http://www.sensefields.com/" style="color:rgb(17,85,204)" target="_blank">http://www.sensefields.com</a> </div>
<div style="font-family:arial; font-size:small"><br>
</div>
<div>
<div><br>
</div>
<div><font face="arial narrow, sans-serif" size="1">This message was directed exclusively at the recipient and contains privileged and confidential information. If you receive this message in error, I beg to inform us immediately by reply email or by phone
 0034 93 250 45 98, and proceed to their elimination.</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>