https://signoz.io logo
#support
Title
# support
p

Prashant Raj

07/23/2023, 1:49 PM
Hey in my self hosted signoz setup. Signoz is retaining all traces it should clear up metrics that are older than a than a week, which is the default behavior. This is leading to my storage being full. I installed signoz using the default chart on my kubernetes cluster.
s

Srikanth Chekuri

07/24/2023, 4:19 AM
That shouldn’t be the case, How long did it retain beyond the TTL limit?
p

Prashant Raj

07/24/2023, 6:02 AM
The trace time limit is 7 days. I can see traces from 27th of June. Is there a way to force a cleanup?
s

Srikanth Chekuri

07/24/2023, 6:47 AM
Can you share one such example trace and confirm if you haven’t updated the retention from settings?
p

Prashant Raj

07/24/2023, 7:26 AM
Here’s the trace details screenshot and the settings for traces.
s

Srikanth Chekuri

07/25/2023, 2:47 AM
That’s unusual. You need to exec into clickhouse and run
OPTIMIZE TABLE ... FINAL
to force trigger the cleanup. Run this on the
signoz_index_v2
table.
2 Views