Skip to content

How to cleanup old data? #1487

Answered by mapno
kostya9 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Yes, the compactor is the component tasked with handling data retention. Retention in Tempo is defined based on time. To configure it, use the compactor.block_retention config option. It defaults to 14 days. Once that a block is older than the configured retention period, the compactor will delete it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kostya9
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants