updated for infra
This commit is contained in:
37
infra/monitoring/loki/config.yml
Normal file
37
infra/monitoring/loki/config.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
# loki/config.yml — single-binary, filesystem-backed TSDB storage, 7-day retention
|
||||
|
||||
server:
|
||||
http_listen_port: 3100
|
||||
instance_addr: 127.0.0.1
|
||||
|
||||
common:
|
||||
path_prefix: /loki
|
||||
storage:
|
||||
filesystem:
|
||||
chunks_directory: /loki/chunks
|
||||
rules_directory: /loki/rules
|
||||
replication_factor: 1
|
||||
ring:
|
||||
kvstore:
|
||||
store: inmemory
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: "2025-01-01"
|
||||
store: tsdb
|
||||
object_store: filesystem
|
||||
schema: v13
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
limits_config:
|
||||
retention_period: 168h
|
||||
max_query_lookback: 168h
|
||||
allow_structured_metadata: true
|
||||
|
||||
compactor:
|
||||
working_directory: /loki/compactor
|
||||
compaction_interval: 5m
|
||||
retention_enabled: true
|
||||
delete_request_store: filesystem
|
||||
Reference in New Issue
Block a user