[rrd-developers] RFC new DS type DGAUGE
tobi at oetiker.ch
Mon Nov 17 09:34:24 CET 2008
Yesterday kevin brintnall wrote:
> On Sun, Nov 16, 2008 at 10:18:51AM +0100, Florian Forster wrote:
> > On Sat, Nov 15, 2008 at 03:56:15PM +0100, Tobias Oetiker wrote:
> > > A new datasource type called DGAUGE. It would always *round down* the
> > > timestamp to the last step.
> > Maybe a good compromise would be to make this `now - (now % step)'
> > calculation easier, so people who know what they're doing can do it with
> > less pain. For this, we could add an alternative to the `N' time
> > specification, for example `B' as `Beginning of interval' or `S' as
> > `Step border'. An update would then become:
> > $ rrdtool update "$FILE" B:1.23
> > $ # - or -
> > $ rrdtool update "$FILE" S:1.23
> Interesting idea, but I don't think it solves quite the same problem.
> This may cause problems in files with mixed DS types. Perturbing the
> update time to get the "DGAUGE" updates right screws up the other DS's.
> Also this causes issues with rrdcached, since it will have to know each
> RRD's step value ...
my meditation (on the flight back from LISA'08) gave the same
result ... S and B will be too big a hammer to solve this problem,
especially since they will influence all DSes.
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers