Back in the 90/2000 the was a very popular tool named rrdtool to store metrics in a round robin structure on disk, especially suited for network metrics. The goal of the storage was to have a fixed size and cover only last NNN days, circularly.

I use rrdtool to this day, as a building block, but this project looks much better.

Oh rrdtool is still relevant today. Multiple (if not most of) monioring tools like Cacti, Observium, Munin still use it.

I still use it. A few months ago I whipped up a project to monitor my Unraid NAS. Rrdtool is very useful still.

rrdtool conbined with graphite was powerful back then when metrics and logging was selfhosted.