57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
auth_enabled: false
|
|
|
|
server:
|
|
http_listen_address: 0.0.0.0
|
|
http_listen_port: 3100
|
|
grpc_listen_address: 0.0.0.0
|
|
grpc_listen_port: 9096
|
|
log_level: info
|
|
|
|
common:
|
|
instance_addr: 127.0.0.1
|
|
path_prefix: /loki
|
|
storage:
|
|
filesystem:
|
|
chunks_directory: /loki/chunks
|
|
rules_directory: /loki/rules
|
|
replication_factor: 1
|
|
ring:
|
|
kvstore:
|
|
store: inmemory
|
|
|
|
schema_config:
|
|
configs:
|
|
# Keep the old stack's schema start and TSDB v13 format so its existing
|
|
# /tmp/loki data can be mounted at /loki without conversion.
|
|
- from: 2020-05-15
|
|
store: tsdb
|
|
object_store: filesystem
|
|
schema: v13
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
limits_config:
|
|
reject_old_samples: true
|
|
reject_old_samples_max_age: 168h
|
|
retention_period: 8760h
|
|
max_query_series: 5000
|
|
split_queries_by_interval: 24h
|
|
max_query_parallelism: 16
|
|
|
|
query_scheduler:
|
|
max_outstanding_requests_per_tenant: 2048
|
|
|
|
compactor:
|
|
working_directory: /loki/compactor
|
|
compaction_interval: 10m
|
|
retention_enabled: true
|
|
retention_delete_delay: 2h
|
|
delete_request_store: filesystem
|
|
|
|
ruler:
|
|
storage:
|
|
type: local
|
|
local:
|
|
directory: /loki/rules
|