From af15ada3073784f86416be5faf3bdfdf83032037 Mon Sep 17 00:00:00 2001
From: royalcat <k.adamovich20@gmail.com>
Date: Fri, 5 Apr 2024 11:00:49 +0300
Subject: [PATCH] reduce retention

---
 tempo/config.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tempo/config.yaml b/tempo/config.yaml
index e3d8110..418773f 100644
--- a/tempo/config.yaml
+++ b/tempo/config.yaml
@@ -20,6 +20,10 @@ metrics_generator:
       - url: http://prometheus:9090/api/v1/write
         send_exemplars: true
 
+compactor:
+  compaction:
+    block_retention: 168h # 7 days
+
 storage:
   trace:
     backend: local # backend configuration to use