Lead Image © sidewaypics, 123RF.com

Lead Image © sidewaypics, 123RF.com

Four solutions for Prometheus long-term storage

Titans

Article from ADMIN 85/2025
By
If you use Prometheus as a time series database, you will know that the more data it stores, the slower it becomes. Thanos, Cortex, Mimir, and M3DB set out to solve this problem in totally different ways. We reveal the candidates' strengths and weaknesses.

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:

  1. Thanos is a cluster solution with built-in long-term storage.
  2. Cortex makes it easy to add a genuine long-term storage engine to Prometheus.
  3. Mimir, on the other hand, is a Cortex fork that is now very different from its ancestor and has its own functions.
  4. 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
...
Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Central logging for Kubernetes users
    Grafana's Loki is a good replacement candidate for the Elasticsearch, Logstash, and Kibana combination in Kubernetes environments.
  • Detect anomalies in metrics data
    Anomalies in an environment's metrics data are an important indicator of an attack. The Prometheus time series database automatically detects, alerts, and forecasts anomalous behavior with the Fourier and Prophet models of the Prometheus Anomaly Detector.
  • Monitoring container clusters with Prometheus
    In native cloud environments, classic monitoring tools reach their limits when monitoring transient objects such as containers. Prometheus closes this gap, which Kubernetes complements, thanks to its conceptual similarity, simple structure, and far-reaching automation.
  • Time-series-based monitoring with Prometheus
    As Prometheus gave fire to mankind, the distributed monitoring software with the same name illuminates the admin's mind in native cloud environments, offering metrics for monitored systems and applications.
  • Monitoring, alerting, and trending with the TICK Stack
    If you are looking for a monitoring, alerting, and trending solution for large landscapes, you will find all the components you need in the TICK Stack.
comments powered by Disqus