Hello, I’m trying to operate mimir with 4ea prometheus for HA for storing long term data from prometheus tsdb. and by following official documennt, I setup mimir with prometheues.
and then, I have some question about mimir.yaml configuration.
My questions are:
-
there are two configuration about retention period for storing data. in this case, the tsdb’s retention period means a period of mimir container’s local db period?
-
and the other, the compactor_blocks_retention_period means a period of minio(or s3 object storage) ?
-
finally, if you guys have long term period in object storage like 1y, how long days you set a retention period on your mimir and prometheus? very short like 7days?
in mimir.yml
blocks_storage:
tsdb:
dir: /data/ingester
block_ranges_period:
- 2h0m0s
retention_period: 13h0m0s
limits:
compactor_blocks_retention_period: 0s # default 1y