]> git.itanic.dy.fi Git - rrdd/commit
rrdtool: Stop update times from drifting
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 25 Aug 2019 12:30:58 +0000 (15:30 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 13 Sep 2019 09:46:31 +0000 (12:46 +0300)
commit03aa50c69d38991d74ae341e18209f0c1344703c
tree9986484c8a0c6f807cf0580ed7096c164dd82bbd
parent78496a55713d0be126c270c49fb62601d87e44f5
rrdtool: Stop update times from drifting

With rrdtool, database updates should rather take place evenly at the
beginning of each update interval. If it happens at random places
within the interval, rrdtool will try to interpolate the data to make
it "fit better" within the data points. This causes unexpected data
values to be generated into the database.

Make each updates happen consitently at the beginning of the window to
ensure the graphs contain as good raw samples as possible.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
rrdtool.c