Skip to content

Span data retention #148

Answered by vmihailenco
piotrpersona asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

This is already possible via the uptrace.yml config:

ch_schema:
  spans:
    # Delete spans data after 30 days.
    ttl_delete: 30 DAY
    storage_policy: 'default'

  metrics:
    # Delete metrics data after 90 days.
    ttl_delete: 90 DAY
    storage_policy: 'default'

I will update the docs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by piotrpersona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #147 on January 18, 2023 10:21.