@dansup right, but prometheus and open telemetry are industry standards & are optimised for this sort of use case: storing billions of metrics & data points on server operations.
Like, there's innovation and then there's Not Invented Here, you've gotta be careful of that second one.