stock-bot/monitoring/loki/loki-config.yaml
2025-06-09 22:55:51 -04:00

41 lines
752 B
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
schema_config:
configs:
- from: 2023-01-01
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
ruler:
alertmanager_url: http://localhost:9093
# 30 days retention
limits_config:
retention_period: 720h
query_range:
results_cache:
cache:
embedded_cache:
enabled: true
max_size_mb: 100