[rrd-developers] [PATCH] set smoothing window

Tobias Oetiker tobi at oetiker.ch
Sat Sep 8 07:18:58 CEST 2007


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



More information about the rrd-developers mailing list