faf: add initial loki config

This commit is contained in:
Aaron Bieber 2022-09-03 10:53:19 -06:00
parent 31563cb3de
commit 4311625c39
No known key found for this signature in database
2 changed files with 37 additions and 0 deletions

33
configs/loki.yaml Normal file
View File

@ -0,0 +1,33 @@
auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 0
common:
path_prefix: /tmp/loki
storage:
filesystem:
chunks_directory: /tmp/loki/chunks
rules_directory: /tmp/loki/rules
replication_factor: 1
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
ruler:
alertmanager_url: http://127.0.0.1:9093
analytics:
reporting_enabled: false

View File

@ -31,6 +31,10 @@ in {
users.users.qbit = userBase;
services = {
loki = {
enable = true;
configFile = ../../configs/loki.yaml;
};
prometheus = {
enable = true;
port = 9001;