[rrd-developers] [PATCH] set smoothing window

Tobias Oetiker tobi at oetiker.ch
Tue Sep 11 08:28:30 CEST 2007


Hi Evan,

thanks ... its in
tobi

Yesterday Evan Miller wrote:

> OK. I've updated the patch to support the key=value syntax (the code
> that achieves this isn't the most extensible, but it works).
>
> In addition, this patch updates rrd_dump.c, rrd_info.c, and
> rrd_restore.c, and isn't dumb when dealing with older RRD formats.
>
> Let me know what you think.
>
> Evan
>
> On Sat, Sep 08, 2007 at 07:18:58AM +0200, Tobias Oetiker wrote:
> > Hi Evan,
> >
> > from an interface standpoint of view, I would prefer that optional
> > arguments were using key=value syntax, this will make it possible
> > to have other optional arguments added without using the
> >
> > bla::optional2
> >
> > syntax when not setting
> >
> > bla:optional1:optional2
> >
> > at the same time
> >
> > yes I know that interface is not consistant ... especially in the
> > graph area we have 'both' but alas, that is what we get from being
> > backward compatible ...
> >
> > cheers
> > tobi
> >
> >
> > Yesterday Evan Miller wrote:
> >
> > > Here's a patch to allow the smoothing window size in the archive
> > > definition. Old format:
> > >
> > > RRA:SEASONAL:seasonal period:gamma:rra-num
> > > RRA:DEVSEASONAL:seasonal period:gamma:rra-num
> > >
> > > New (backward-compatible) format:
> > >
> > > RRA:SEASONAL:seasonal period:gamma:rra-num[:smoothing window]
> > > RRA:DEVSEASONAL:seasonal period:gamma:rra-num[:smoothing window]
> > >
> > > By default it's set to 0.05 (same as now), which means 5% of a season is
> > > used for the running average. Setting "smoothing window" to 0 will
> > > disable the running-average smoother altogether.
> > >
> > > Let me know if I've forgotten anything...
> > >
> > > Evan
> > >
> >
> > --
> > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
> > http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-developers mailing list