Monitoring Stack: fix loki config flush_on_shutdown

This commit is contained in:
Aroy-Art 2025-02-04 16:36:36 +01:00
parent 7c42201c28
commit 51d074cb88
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -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: