Four solutions for Prometheus long-term storage
Titans
One key difference between current IT setups and those of the past is that current setups are typically designed for scalability. Computing power, RAM, disk space – all can ideally be added or removed dynamically in a state-of-the-art setup. For ongoing operations, this results in a few challenges that administrators were unlikely to confront until the advent of OpenStack, Ceph, Kubernetes, and the like. They include, for example, the need to know when it's the right time to add additional resources. "When they are needed" is the easy answer, because that directly prompts the next questions: When exactly are new resources needed, and how do admins work around bottlenecks and delays in delivery of the new equipment?"
Trending software helps answer these questions early enough that you can plan in peace and sleep well at night. Under the hood, you will often find a time series database that collects and saves metrics data from all instances of the entire setup at regular intervals before correlating the acquired data and alerting if defined threshold values are exceeded. Right now, Prometheus is probably the most widely used of the candidates in this field.
If you want to scale or store data in the long term for analysis, four open source approaches stand out from the crowd:
- Thanos is a cluster solution with built-in long-term storage.
- Cortex makes it easy to add a genuine long-term storage engine to Prometheus.
- Mimir, on the other hand, is a Cortex fork that is now very different from its ancestor and has its own functions.
- M3DB is a converter between the worlds, combining central design elements of both Thanos and Cortex.
You therefore need to make a decision. It makes sense to answer three questions first:
- Which solution is best suited to your application?
- What are the individual strengths and weaknesses
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.