parca icon indicating copy to clipboard operation
parca copied to clipboard

Downsampling support

Open yeya24 opened this issue 4 years ago • 1 comments

This issue might not make sense as Conprof usually stores recent data. But it would be good if it can store data longer.

Now Conprof has a merge API to merge two profiles and this is supported in Polar Signals, too. This API can be used to merge several profiles and create a larger profile.

yeya24 avatar Jun 01 '21 20:06 yeya24

I've been thinking about this for some time, and I agree we'll store aggregated forms of the profiles eventually, but I think I want us to get the storage of the true-resolution data right first, and we have a lot to do there still.

The quick and easy solution would be to have 1 tsdb per resolution and aggregate to 5m / 1h / 12h windows (sort of like Prometheus recording rules), but I think we can do better than that.

brancz avatar Jun 02 '21 07:06 brancz