1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/loki/files/loki.yaml
Evangelos Foutras 3d1b95ee24
loki: increase split_queries_by_interval to 24h
The cloud server running Loki isn't powerful enough to do aggressive
query splitting; it makes queries execute slower and generates a lot
more queries, resulting in "too many outstanding requests" in recent
Loki versions. (Maybe a bug?)
2022-06-07 23:55:22 +03:00

56 lines
1.0 KiB
YAML

auth_enabled: false
server:
http_listen_address: 127.0.0.1
http_listen_port: 3100
grpc_listen_address: 127.0.0.1
grpc_listen_port: 9095
log_level: warn
common:
path_prefix: /var/lib/loki
storage:
filesystem:
chunks_directory: /var/lib/loki/chunks
rules_directory: /var/lib/loki/rules
replication_factor: 1
instance_addr: 127.0.0.1
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
ingester:
wal:
replay_memory_ceiling: 200MB
chunk_encoding: zstd
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
- from: 2022-06-07
store: boltdb-shipper
object_store: filesystem
schema: v12
index:
prefix: index_
period: 24h
compactor:
retention_enabled: true
limits_config:
max_query_series: 10000
retention_period: 31d
max_query_lookback: 31d
split_queries_by_interval: 24h
analytics:
reporting_enabled: false