From 2390a6bc31f16d3f3e5c83904584e4b74d9b41d8 Mon Sep 17 00:00:00 2001 From: Mateusz Kulewicz Date: Wed, 8 May 2024 12:23:58 +0400 Subject: [PATCH] Set total block retention to 30 days (#97) --- src/tempo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tempo.py b/src/tempo.py index 37583af9..0de2e7f5 100644 --- a/src/tempo.py +++ b/src/tempo.py @@ -189,8 +189,9 @@ def generate_config(self, receivers: Sequence[ReceiverProtocol]) -> dict: "compaction_window": "1h", # maximum size of compacted blocks "max_compaction_objects": 1000000, - "block_retention": "1h", - "compacted_block_retention": "10m", + # total trace retention + "block_retention": "720h", + "compacted_block_retention": "1h", "v2_out_buffer_bytes": 5242880, } },