From 7470897cce27d382b252a1af629b4caf22915da2 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 20 Jul 2007 22:16:36 +0000 Subject: [PATCH] better docs on the aggregate functions git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1160 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/doc/rrdcreate.pod | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/program/doc/rrdcreate.pod b/program/doc/rrdcreate.pod index 3689e293..49db70ec 100644 --- a/program/doc/rrdcreate.pod +++ b/program/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 -- 2.30.2