loki-config.yaml aktualisiert
This commit is contained in:
+20
-8
@@ -2,20 +2,32 @@ auth_enabled: false
|
|||||||
|
|
||||||
server:
|
server:
|
||||||
http_listen_port: 3100
|
http_listen_port: 3100
|
||||||
|
grpc_listen_port: 9095
|
||||||
|
|
||||||
common:
|
# Wir verzichten komplett auf den 'common' Block, um Konflikte zu vermeiden.
|
||||||
instance_addr: 127.0.0.1
|
|
||||||
path_prefix: /loki
|
|
||||||
storage:
|
|
||||||
filesystem:
|
|
||||||
chunks_directory: /loki/chunks
|
|
||||||
rules_directory: /loki/rules
|
|
||||||
replication_factor: 1
|
|
||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
- store: tsdb
|
- store: tsdb
|
||||||
schema: v13
|
schema: v13
|
||||||
|
period: 24h
|
||||||
|
|
||||||
|
storage_config:
|
||||||
|
tsdb_shipper:
|
||||||
|
active: true
|
||||||
|
config:
|
||||||
|
# Hier definieren wir den Object Store explizit als filesystem
|
||||||
|
store: filesystem
|
||||||
|
filesystem:
|
||||||
|
directory: /loki/chunks
|
||||||
|
|
||||||
limits_config:
|
limits_config:
|
||||||
allow_structured_metadata: false
|
allow_structured_metadata: false
|
||||||
|
reject_old_samples: true
|
||||||
|
reject_old_samples_max_age: 168h
|
||||||
|
|
||||||
|
# WICHTIG: Wir definieren den Speicherort für die Chunks separat,
|
||||||
|
# da Loki sonst wieder 'object_store type ""' meldet.
|
||||||
|
chunk_store_config:
|
||||||
|
filesystem:
|
||||||
|
directory: /loki/chunks
|
||||||
Reference in New Issue
Block a user