60 lines
1.1 KiB
YAML
60 lines
1.1 KiB
YAML
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
|
|
|
|
ingester:
|
|
wal:
|
|
enabled: true
|
|
dir: /loki/wal
|
|
flush_on_shutdown: true
|
|
chunk_idle_period: 5m
|
|
chunk_retain_period: 30s
|
|
max_chunk_age: 1h
|
|
lifecycler:
|
|
ring:
|
|
replication_factor: 1
|
|
|
|
schema_config:
|
|
configs:
|
|
- from: 2020-10-24
|
|
store: boltdb-shipper
|
|
object_store: filesystem
|
|
schema: v11
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
storage_config:
|
|
boltdb_shipper:
|
|
active_index_directory: /loki/index
|
|
cache_location: /loki/index
|
|
shared_store: filesystem
|
|
filesystem:
|
|
directory: /loki/chunks
|
|
|
|
limits_config:
|
|
enforce_metric_name: false
|
|
reject_old_samples: true
|
|
reject_old_samples_max_age: 168h
|
|
ingestion_rate_mb: 10
|
|
ingestion_burst_size_mb: 20
|
|
|
|
compactor:
|
|
working_directory: /loki/compactor
|
|
shared_store: filesystem
|
|
compaction_interval: 10m
|