61 lines
1.3 KiB
Django/Jinja
61 lines
1.3 KiB
Django/Jinja
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: boltdb-shipper
|
|
object_store: filesystem
|
|
schema: v11
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
ruler:
|
|
alertmanager_url: http://localhost:9093
|
|
|
|
chunk_store_config:
|
|
max_look_back_period: 744h
|
|
|
|
table_manager:
|
|
retention_deletes_enabled: true
|
|
retention_period: {{ loki_retention_days }}h
|
|
|
|
compactor:
|
|
working_directory: /loki/boltdb-shipper-compactor
|
|
shared_store: filesystem
|
|
compaction_interval: 10m
|
|
|
|
limits_config:
|
|
ingestion_rate_strategy: "global"
|
|
ingestion_rate_mb: 50
|
|
ingestion_burst_size_mb: 50
|
|
max_entries_limit_per_query: 5000
|
|
reject_old_samples: true
|
|
reject_old_samples_max_age: 168h
|
|
max_query_length: 721h
|
|
max_query_parallelism: 32
|
|
per_stream_rate_limit: 20MB
|
|
per_stream_rate_limit_burst: 25MB |