Files
monitoring-quadlets/loki/loki-config.yml
T
2025-07-27 09:57:53 +02:00

60 lines
1.1 KiB
YAML

auth_enabled: false
target: all
server:
http_listen_port: 3100
grpc_listen_port: 9096
log_level: info
grpc_server_max_concurrent_streams: 1000
common:
path_prefix: /opt/loki/
replication_factor: 1
storage:
filesystem:
chunks_directory: /opt/loki/chunks
rules_directory: /opt/loki/rules
ring:
kvstore:
store: inmemory
query_range:
results_cache:
cache:
embedded_cache:
enabled: true
max_size_mb: 100
limits_config:
metric_aggregation_enabled: true
allow_structured_metadata: true
retention_period: 744h
schema_config:
configs:
- from: 2025-01-01
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
compactor:
working_directory: /opt/loki/retention
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
delete_request_store: filesystem
pattern_ingester:
enabled: true
metric_aggregation:
loki_address: localhost:3100
storage_config:
filesystem:
directory: /opt/loki/chunks