Smallest retention possible? #7894
Replies: 2 comments 5 replies
-
Hey there, @nickaws! I'm a bot designed to help you with bugs, questions, and contributions. Let's tackle this issue together while we wait for a human maintainer. The issue you're experiencing, where data is not being deleted from S3 after one day despite your configuration, could be due to several factors:
For more detailed troubleshooting, you can refer to the Thanos documentation on compactor backlog and troubleshooting [1][2]. |
Beta Was this translation helpful? Give feedback.
-
Hi @nickaws, this log means that your blocks should be marked for deletion now. Deletion is a lazy process so it takes some time for the blocks to be eventually deleted by the compactor. The delay by default is 48h. You can change
|
Beta Was this translation helpful? Give feedback.
-
I have this config in my compactor
I expect this to wipe from my s3 after a day, but it is not doing it. I might be misunderstanding, but I expect the data to disappear, but in grafana I still can go back and see everything. I don't see any errors in my compactor, and the data is still in S3. My data is a few kilobytes at most with a couple of metrics, it's a test instance.
I have this as my relabel config, the idea is to implement this retention mechanism
Beta Was this translation helpful? Give feedback.
All reactions