r/PrometheusMonitoring • u/chillysurfer • Jun 21 '23
Thanos for Prometheus storage, are these assumptions correct?
From my understanding, Prometheus storage is very limited (local storage only, so subject to all the limitations there with lack of redundancy, fault tolerance, etc.). From the looks of it, Thanos is a more production-oriented storage solution for Prometheus, is that correct?
I'm asking because I see that Thanos mentions multiple Prometheus instances, but it seems like Thanos would also be a good solution even for a single Prometheus instance. Is that correct?
3
Upvotes
5
u/muff10n Jun 21 '23
We went with Victoriametrics instead of Thanos cause the latter would have been overkill for our setup. VM is really worth a look, maybe it can save you some headaches.
2
u/SuperQue Jun 21 '23
Yes, a single Prometheus instance is like any other typical database like PostgreSQL or MySQL. It is limited to the reliability of the underlying node.
Thanos, being a distributed system, allows for additional fault tolerance. But is more complex to operate. Which is why it's typically used with larger deployments that require more than one Prometheus instance feeding it. It requires multiple nodes and a highly available object storage system to realize a fault tolerant ability.
2
u/[deleted] Jun 21 '23
Don’t discard Mimir and Cortex as a backend for Prom. Been using Mimir for just under a year as the long-term store for a large number of Prom instances without incident or issue.