By default, Prometheus does a great job of managing local storage of metrics using its own TSDB. But there are cases where this is not enough: local storage is limited by the amount of disk space available locally to the Prometheus instance, which isn't ideal for large retention periods, such as years, and large data volumes that go beyond the amount of disk space that is feasible to have attached to the instance. In the following sections, we'll be discussing the local storage approach, as well as the currently available options for remote storage.
Options for metrics storage
Local storage
Prometheus' out-of-the-box storage solution for time series data is simply local storage. It is simpler to understand and...