[rrd-developers] Introducing: rrd modify
Peter Stamfest
peter at stamfest.at
Tue Feb 25 12:17:43 CET 2014
Am 2014-02-25 11:04, schrieb Tobias Oetiker:
> Today Peter Stamfest wrote:
>
>> Am 2014-02-25 09:24, schrieb Tobias Oetiker:
>>> Hi Peter,
>>>
>>> Today Peter Stamfest wrote:
>>>
>>>> Hi List, Hi Tobi,
>>>>
>>>> I have implemented a "rrd modify" command. Essentially, it takes an
>>>> input RRD, adds or removes data sources and creates an output RRD.
>>>>
>>>> My current imlementation can be found in branch "rrdmodify" at
>>>> https://github.com/stamfest/rrdtool-1.x#
>>>>
>>>> That branch does not properly merge against master, currently. I'm
>>>> currently trying to rebase it to master...
>>> that looks good, since it is not a bugfix, it would be better to
>>> make it apply to master
>> So there is a realistic chance that this gets included? If this is the
>> case, I'll do the rebasing.
> sure ... especially since it just adds new functionality and comes
> with documentation ...
>
> now, if you add the ability to even change the step and existing RRAs
> while preserving the data I bet people will start traveling to AT
> to worship you :-)
>
Actually, the structure of the code would allow for on-the-fly RRA
modification as well (with the simple cases being adding empty rows and
just removing filled rows). The really hard part would be to "simulate"
aggregation (from one RRA to the next?).
Iff rrdgraph is clever enough to integrate data from multiple RRAs into
one graph (with the highest possible resolution where available), the
hard part would not even be needed for most cases and an extension of
the proposed modify command to change RRA sizes is very doable within a
couple of days.
cheers
peter
More information about the rrd-developers
mailing list