nixos-config/hosts/x86_64-linux/beleth/config-files/loki-config.yaml

31 lines
545 B
YAML
Raw Normal View History

2024-07-05 15:22:22 +02:00
# This is a complete configuration to deploy Loki backed by the filesystem.
# The index will be shipped to the storage via tsdb-shipper.
2024-07-05 14:45:25 +02:00
auth_enabled: false
server:
http_listen_port: 3100
2024-07-05 14:52:17 +02:00
common:
ring:
2024-07-05 15:22:22 +02:00
instance_addr: 127.0.0.1
2024-07-05 14:52:17 +02:00
kvstore:
store: inmemory
2024-07-05 15:22:22 +02:00
replication_factor: 1
path_prefix: /tmp/loki
2024-07-05 14:45:25 +02:00
schema_config:
configs:
2024-07-05 15:22:22 +02:00
- from: 2020-05-15
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
storage_config:
filesystem:
directory: /tmp/loki/chunks