add retention to loki
change
commit cfcec1d3ba36535080557e4d03c850cb101e501d
author Alpha Chen <alpha@kejadlen.dev>
date
parent 3aded633
diff --git a/lotus-land-story/loki.yml b/lotus-land-story/loki.yml
index 7bc5b98..5975e18 100644
--- a/lotus-land-story/loki.yml
+++ b/lotus-land-story/loki.yml
@@ -46,6 +46,10 @@
             ring:
               kvstore:
                 store: inmemory
+          compactor:
+            retention_enabled: true
+          limits_conrig:
+            retention_period: 168h
           schema_config:
             configs:
               - from: 2020-10-24