faf: add initial loki config
This commit is contained in:
parent
31563cb3de
commit
4311625c39
33
configs/loki.yaml
Normal file
33
configs/loki.yaml
Normal 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
|
@ -31,6 +31,10 @@ in {
|
||||
users.users.qbit = userBase;
|
||||
|
||||
services = {
|
||||
loki = {
|
||||
enable = true;
|
||||
configFile = ../../configs/loki.yaml;
|
||||
};
|
||||
prometheus = {
|
||||
enable = true;
|
||||
port = 9001;
|
||||
|
Loading…
Reference in New Issue
Block a user