[rrd-users] how does the autoscaler work (algorithm)

Tobias Oetiker tobi at oetiker.ch
Fri Jan 9 14:09:40 CET 2009


Hi Karl,

the source for the autoscaling is in the rrd_graph.c file, search
for auto_scale ... you will see that there orignal autoscale code
as well as the altautoscale code and yet other code for handling
the autoscaling with log scale ... all pretty voodoo I'm afraid.


cheers
tobi

Today Karl Fischer wrote:

>
> Hi all,
>
> where can I find information about the algorithm of the autoscaler?
> How does it work? I assume it looks for the MINIMUM and MAXIMUM values
> first and uses the peak values as a base for another calculation.
>
> Can somebody point me to a good source of information?
> And if this is the source code, where? Which file?
>
> Many thanks.
>
> - Karl
>
> PS: I have phrased another question about getting the choosen scale
> from the autoscaler at
> https://lists.oetiker.ch/pipermail/rrd-users/2009-January/015178.html
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
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-users mailing list