Retention period for blocks_storage #5238
Replies: 2 comments 3 replies
-
https://cortexmetrics.io/docs/configuration/configuration-file/#limits_config Put a flag like this in the compactor
The retention in the ingesters is controlled by
It's already 6h. You can increase it to get better query response time, but you need to match it with other flags in compactor and store-gateways. |
Beta Was this translation helpful? Give feedback.
-
facing the same issue. In default config I specified Also I have Cortex successfully stored data in S3 but don't want to delete them after 12h. All other options are default from this file |
Beta Was this translation helpful? Give feedback.
-
Hello team, I want configure retention period for blocks_storage
I want collect metrics only 15d
After this period I want delete metrics from FS
How I can setup it ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions