44 lines
826 B
Text
44 lines
826 B
Text
|
|
auth_enabled: false
|
||
|
|
|
||
|
|
server:
|
||
|
|
http_listen_port: 3100
|
||
|
|
grpc_listen_port: 9096
|
||
|
|
|
||
|
|
common:
|
||
|
|
path_prefix: /loki
|
||
|
|
storage:
|
||
|
|
filesystem:
|
||
|
|
chunks_directory: /loki/chunks
|
||
|
|
rules_directory: /loki/rules
|
||
|
|
replication_factor: 1
|
||
|
|
ring:
|
||
|
|
instance_addr: 127.0.0.1
|
||
|
|
kvstore:
|
||
|
|
store: inmemory
|
||
|
|
|
||
|
|
query_range:
|
||
|
|
results_cache:
|
||
|
|
cache:
|
||
|
|
embedded_cache:
|
||
|
|
enabled: true
|
||
|
|
max_size_mb: 100
|
||
|
|
|
||
|
|
schema_config:
|
||
|
|
configs:
|
||
|
|
- from: 2020-10-24
|
||
|
|
store: tsdb
|
||
|
|
object_store: filesystem
|
||
|
|
schema: v13
|
||
|
|
index:
|
||
|
|
prefix: index_
|
||
|
|
period: 24h
|
||
|
|
|
||
|
|
limits_config:
|
||
|
|
retention_period: {{ loki_retention_days | default(prometheus_retention_days) }}d
|
||
|
|
reject_old_samples: true
|
||
|
|
reject_old_samples_max_age: 168h
|
||
|
|
|
||
|
|
compactor:
|
||
|
|
working_directory: /loki/compactor
|
||
|
|
compaction_interval: 10m
|