How to change the feed interval later

Hi,

making a new log-feed I have define a feed intervall.

Is it possible to change the interval later?

I looked in the mysql-database of the feed, but I did not find any value, that is responsible for this.

pb66's picture

Re: How to change the feed interval later

I don't think it's easily done because the timestamp of each datapoint is calculated from the number of preceding datapoints multiplied by interval, relative to the feed start time.

so for example if you collect data every 10 seconds for a month and then change the feed interval to every 30 seconds your 1 months worth of data now spans 3 months (3x the interval and the same number of data points)

and what's more the feed start time will still be 1 month ago, so you effective ly have the next 2 months data already and what you collect from here on will be appended to that so a 2month error will be ongoing.

You would need to perform some sort of "conversion" to either add or remove datapoints using calculated averages etc.

The interval is not held in the SQL but is in the feeds meta file in the feeds directory

Paul

brutzler's picture

Re: How to change the feed interval later

OK,

then its the only way for me, to delete the feeds and set up new ones.

Its no problem so far, because for the additional stuff of the last few days, I have no important data.

Paul Reed's picture

Re: How to change the feed interval later

Yep, that's the only way at the moment.

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.