loki: fix migration issue from boltdb to tsdb
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tom Neuber 2024-04-14 00:45:35 +02:00
parent ec8334c6cc
commit fe5535beca
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -9,6 +9,32 @@ loki:
auth_enabled: false
persistence:
size: 30Gi
schemaConfig:
configs:
- from: 2024-01-01
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
- from: 2024-04-15
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
storageConfig:
tsdb_shipper:
active_index_directory: /data/tsdb-index
cache_location: /data/tsdb-cache
# compactor:
# working_directory: /data/retention
# compaction_interval: 10m
# retention_enabled: true
# retention_delete_delay: 2h
# retention_delete_worker_count: 150
monitoring:
selfMonitoring:
grafanaAgent: