9 min read
Systems debugging
VictoriaMetrics already had downsampling, under another name
Downsampling is an enterprise feature in VictoriaMetrics. The open-source binary already keeps the last sample per interval during merges and calls it deduplication. Make the interval depend on the sample's age and you have tiers. The patch is 213 lines and has applied cleanly to five releases.