carbonapi icon indicating copy to clipboard operation
carbonapi copied to clipboard

Should 'zipper' protocol implementations return "dense" matrix or sparse?

Open shanson7 opened this issue 1 year ago • 1 comments

Problem description

Looking at existing implementations, they have lines like these which return values only for the "real" start/stop times, which might significantly reduce the memory used for series with high "churn".

However, functions like transformNull only seem to act on the set of values included, though theoretically the RequestStart/RequestStop Time should also be filled with NaN.

So my question is: Is this a bug in transformNull or should the zipper be providing "dense" values?

backend software and config

Custom in-house integration

shanson7 avatar Dec 20 '24 14:12 shanson7

It also seems that consolidation doesn't take the entire from/until into account for sparse data.

shanson7 avatar Jan 20 '25 09:01 shanson7