loki: fix migration issue from boltdb to tsdb
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ec8334c6cc
commit
fe5535beca
1 changed files with 26 additions and 0 deletions
|
@ -9,6 +9,32 @@ loki:
|
||||||
auth_enabled: false
|
auth_enabled: false
|
||||||
persistence:
|
persistence:
|
||||||
size: 30Gi
|
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:
|
monitoring:
|
||||||
selfMonitoring:
|
selfMonitoring:
|
||||||
grafanaAgent:
|
grafanaAgent:
|
||||||
|
|
Loading…
Reference in a new issue