How to ensure complete data deletion of decomissioned tenants from local TSDB (not using object storage system yet) #7139
Unanswered
nicktill
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Thanos Receive without an object storage system, and I need guidance on ensuring complete data deletion for a decommissioned tenant from the local TSDB located at
/var/thanos/receive
While I understand the decommissioning process involves flushing in-memory samples to disk, I would like to understand detailed steps or best practices for identifying and safely removing specific data files from the TSDB path.
Here is an example of the file system structure:
Our team initially had some scripts to remove tenant data by going into each tenant and deleting specific directories within them.
However the script was not functioning properly, as metrics would still show up for a tenant after deletion.
Based on this behavior, I would like to clarify if I simply can remove the tenant folder entirely if I want to remove data associated with a specific tenant, or if there is a better solution to accomplishing what was explained above? Any guidance/clarifications anyone might have would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions