diff --git a/config/config.yml b/config/config.yml index 6ab9ad9..da58fdb 100644 --- a/config/config.yml +++ b/config/config.yml @@ -22,6 +22,9 @@ schema_config: period: 24h storage_config: + tsdb_shipper: + active_index_directory: /loki/index + cache_location: /loki/cache filesystem: directory: /loki/chunks @@ -35,3 +38,8 @@ limits_config: ingestion_burst_size_mb: 20 max_global_streams_per_user: 0 volume_enabled: true + +compactor: + working_directory: /loki/compactor + retention_enabled: true + retention_period: 720h # 30 jours