Skip to content

Commit 2aad0a4

Browse files
committed
Update ingester configuration for improved chunk handling
1 parent caf9d29 commit 2aad0a4

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

kubernetes/namespaces/loki/loki_values.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ loki:
3333
s3ForcePathStyle: true
3434

3535
ingester:
36+
wal:
37+
flush_on_shutdown: true
3638
# Flush a chunk after this long with no new writes (even if not full)
37-
chunk_idle_period: 5m
39+
chunk_idle_period: 30m
3840
# Max age for any chunk regardless of activity
39-
max_chunk_age: 10m
40-
chunk_target_size: 1048576 # 1MB
41+
max_chunk_age: 2h
42+
chunk_target_size: 10485760 # 10MB
4143
chunk_encoding: snappy
4244

4345
compactor:

0 commit comments

Comments
 (0)