chore: Basic logging met loki

This commit is contained in:
Tibo De Peuter 2025-02-23 13:56:40 +01:00
parent c07bb959cf
commit 0f8bd3df6a
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
5 changed files with 133 additions and 23 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: 3100
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