Prometheus, but Bigger
luizrojo.medium.com
luizrojo.medium.com
Single-node VictoriaMetrics can easily handle 1M metrics/sec
Data volume is just one thing. Thanos makes Prometheus stateless and easy to shard, all in a non-invasive approach that is solid, boring, and just works. The architecture works well in small scale systems. I even use it in a single node k8s cluster in my homelab, pays only about ~$1 a month for Backblaze B2 so I never worry about data retention or disk usage.
> Single-node VictoriaMetrics can easily handle 1M metrics/sec
Even if I have disk access, I would think twice before deploying a database and manage it myself when I don't have to. Besides the maintenance burden and potential scaling issues in the future, it may cost you more to use block storage like EBS than S3.
Also, Prometheus memory usage overhead for remote write was wild[1], so, good luck with capacity planning and config tweaking.
The “insane” prices were from NewRelic, using the Kubernetes integration and infrastructure monitoring. I am based in Brasil, so every price is “times 5” plus taxes.
Right now we have a small number of clusters, but it will be growing on a fast pace in the future. For us, monitoring the new clusters will come easy as deploying a couple of new prometheus PODs inside the new cluster, adding a couple lines to our deploy pipeline.
As for doing in house, since we have a complete private cloud solution, it makes sense for us, as mentioned by zzyzxd in another comment, Thanos is pretty straight forward and just works, it demands almost zero maintenance, we just keep an eye for storage consumption and new releases.
I might be missing something, but $3k/month (let alone $38k/month) sounds absolutely insane to me for how little metrics they're collecting (4k5 metrics per second, 2.7TB of data per year). Is the money going for network bandwidth or something along those lines?
With automation we can spin up full new compute stacks, including load balancers and DNS in about 5-10 minutes per “unique” environment configuration.
While it guarantees we could never have a no downtime failover, we’re okay with it and have more than halved our network costs (which admittedly were about number 8 on our AWS bill by cost).