Monitoring Stack: fix loki config flush_on_shutdown
This commit is contained in:
parent
7c42201c28
commit
51d074cb88
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@ ingester:
|
||||||
max_chunk_age: 1h # Flush chunks older than 1h
|
max_chunk_age: 1h # Flush chunks older than 1h
|
||||||
chunk_target_size: 1048576 # Build chunks up to ~1MB in size
|
chunk_target_size: 1048576 # Build chunks up to ~1MB in size
|
||||||
chunk_retain_period: 30s # Retain flushed chunks briefly (ensure index cache TTL is lower)
|
chunk_retain_period: 30s # Retain flushed chunks briefly (ensure index cache TTL is lower)
|
||||||
wal:
|
wal: # Enable the WAL (write-ahead log) which is now the preferred mechanism for durability.
|
||||||
enabled: true
|
enabled: true
|
||||||
dir: /loki/wal
|
dir: /loki/wal
|
||||||
flush_on_shutdown: true # When set to true, the ingester will flush its in-memory data on shutdown.
|
flush_on_shutdown: true # When set to true, the ingester will flush its in-memory data on shutdown.
|
||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
|
|
Loading…
Add table
Reference in a new issue