ceres icon indicating copy to clipboard operation
ceres copied to clipboard

If serie don't have data for requested interval, result should have proper time step

Open Civil opened this issue 10 years ago • 1 comments

https://github.com/vladimir-smirnov-sociomantic/ceres/commit/555f9746e62b3af29c762c038506075aa767c2e2

If you request metric without any usable slices (e.x. no data for a long time and everything was rolled up out of the disk, but metadata still there) - you'll have resulting list with timeStep = 1, which isn't that good (it'll require recalculation of this slice on later stages). With this patch, ceres will return slice with more proper time steps (will look for them in the config file or use default one, instead of '1').

Though in current form it depends on dkulikovskiy's branch, because this commit also improves his detection of unneeded slices.

Civil avatar Jan 19 '15 11:01 Civil

Confirmed, however this would only apply if you request the data outside of graphite, as normally if a node does not hasDataForInterval() then graphite won't bother looking it up.

iain-buclaw-sociomantic avatar Apr 06 '17 18:04 iain-buclaw-sociomantic