Local storage

Prometheus' out-of-the-box storage solution for time series data is simply local storage. It is simpler to understand and simpler to manage: the database lives in a single directory, which is easy to back up, restore, or destroy if needed. By avoiding clustering, Prometheus ensures sane behavior when facing network partitions; you don't want your monitoring system to fail when you need it the most. High availability is commonly achieved by simply running two Prometheus instances with the same configuration, each with its own database. This storage solution, however, does not cover all uses cases, and has a few shortcomings:

  • It's not durable – in a container orchestration deployment, the collected data will disappear when the ...

Get Hands-On Infrastructure Monitoring with Prometheus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.