loki-config.yaml aktualisiert
This commit is contained in:
+16
-9
@@ -1,7 +1,9 @@
|
|||||||
auth_enabled: false
|
auth_enabled: false
|
||||||
|
|
||||||
server:
|
server:
|
||||||
http_listen_port: 3100
|
http_listen_port: 3100
|
||||||
grpc_listen_port: 9095
|
grpc_listen_port: 9095
|
||||||
|
|
||||||
common:
|
common:
|
||||||
instance_addr: 127.0.0.1
|
instance_addr: 127.0.0.1
|
||||||
path_prefix: /loki
|
path_prefix: /loki
|
||||||
@@ -9,18 +11,23 @@ common:
|
|||||||
filesystem:
|
filesystem:
|
||||||
chunks_directory: /loki/chunks
|
chunks_directory: /loki/chunks
|
||||||
rules_directory: /loki/rules
|
rules_directory: /loki/rules
|
||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
- store: filesystem
|
- store: tsdb # GEÄNDERT: von filesystem auf tsdb
|
||||||
schema: v13 # <--- DIESE ZEILE HAT GEFEHLT!
|
schema: v13 # AKTUELLSTER Standard für TSDB
|
||||||
index:
|
|
||||||
prefix: index_
|
|
||||||
period: 24h
|
period: 24h
|
||||||
|
|
||||||
limits_config:
|
limits_config:
|
||||||
reject_old_samples: true
|
reject_old_samples: true
|
||||||
reject_old_samples_max_age: 168h
|
reject_old_samples_max_age: 168h
|
||||||
chunk_store_config:
|
# Deaktiviert die Fehlermeldung zu "Structured Metadata", falls nicht benötigt
|
||||||
# max_look_back_period wurde entfernt und ist hier nicht mehr gültig
|
allow_structured_metadata: false
|
||||||
table_manager:
|
|
||||||
retention_deletes_enabled: false
|
# Diese Sektion ist in neuen Versionen wichtig, um den lokalen Speicher explizit zu definieren
|
||||||
retention_period: 0s
|
storage_config:
|
||||||
|
filesystem:
|
||||||
|
directory: /loki/chunks
|
||||||
|
|
||||||
|
# Table Manager wird in neueren Loki-Versionen durch das Compactor-Modul ersetzt.
|
||||||
|
# Für ein einfaches lokales Setup reicht dies hier aus.
|
||||||
Reference in New Issue
Block a user