From: oetiker Date: Fri, 20 Jul 2007 22:16:36 +0000 (+0000) Subject: better docs on the aggregate functions X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=f33dd0fcc721e4efb1ce3be0d672e00e587d7491;hp=2269cac6b933b95875479de98d4da94d9efa195f better docs on the aggregate functions git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1160 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/doc/rrdcreate.pod b/doc/rrdcreate.pod index 3689e29..49db70e 100644 --- a/doc/rrdcreate.pod +++ b/doc/rrdcreate.pod @@ -173,7 +173,35 @@ data point>. The data is also processed with the consolidation function (I) of the archive. There are several consolidation functions that consolidate primary data points via an aggregate function: B, -B, B, B. The format of B line for these +B, B, B. + +=over + +=item AVERAGE + +the average of the data points is stored. + +=item MIN + +the smallest of the data points is stored. + +=item MAX + +the largest of the data points is stored. + +=item LAST + +the last data points is used. + +=back + +Note that data aggregation inevitably leads to loss of precision and +information. The trick is to pick the aggregate function such that the +I properties of your data is kept across the aggregation +process. + + +The format of B line for these consolidation functions is: BIB<:>IB<:>IB<:>I