How can I retrieve the data stored in Azure Blob Storage to a newly installed Mimir? #8500
Replies: 1 comment
-
How can I edit the time range for uploading data to Azure Blob Storage? Since #3518 Mimir doesn't expose a way to configure TSDB block-ranges. As I can tell, after reading the discussion there, the rationale behind that went as follows:
In case Mimir crashes, how can I retrieve the data stored in Azure Blob Storage to a newly installed Mimir? I don't fully understand this part of the question. Here how Mimir works, per my understanding: Mimir's ingester components own TSDB, that accumulates incoming series and periodically cut them as "blocks" onto ingesters' local disks. Ingesters watch for newly cut blocks and upload them to an object store (e.g. Azure Blob Storage). Whenever one queries Mimir, the querier components decide if the query requires any recent data that is still held by ingesters, or historical data, that was already propagated to the object storage (and potentially was already "massaged" by compacter component). There are numbers of "advanced" configuration knobs, that control this behaviour (e.g. 1, 2, 3). But typically, changing them is not recommended unless there was an actual suggestion to do that, after someone explored the details of a particular use-case. That is, for the question on how to make a fresh installation of Mimir to work with the existing data in an object store, you shouldn't do anything specific. As long as Mimir can access the object store, it should work. If, though, one also wants to transfer recent ("hot") blocks, which queriers expect to request from ingesters, this might be tricky. The |
Beta Was this translation helpful? Give feedback.
-
Hi team,
I have installed the distributed version of Mimir (mimir-distributed-5.3.0) and configured Azure Blob Storage for it to store the data. The data is being stored every 2 hours.
My questions are:
How can I edit the time range for uploading data to Azure Blob Storage?
In case Mimir crashes, how can I retrieve the data stored in Azure Blob Storage to a newly installed Mimir?
Beta Was this translation helpful? Give feedback.
All reactions