chore(backend): Loki configureren

De meeste console statements vervangen door Loki
This commit is contained in:
Tibo De Peuter 2025-02-23 17:29:11 +01:00
parent 0f8bd3df6a
commit 7fd6305fd9
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
8 changed files with 767 additions and 40 deletions

30
config/loki/config.yml Normal file
View file

@ -0,0 +1,30 @@
# This is a complete configuration to deploy Loki backed by the filesystem.
# The index will be shipped to the storage via tsdb-shipper.
auth_enabled: false
server:
http_listen_port: 3102
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /tmp/loki
schema_config:
configs:
- from: 2020-05-15
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
storage_config:
filesystem:
directory: /tmp/loki/chunks