53 lines
1016 B
YAML
53 lines
1016 B
YAML
# Loki 3.6 single-binary config (from official loki-local-config.yaml).
|
|
# See: https://grafana.com/docs/loki/latest/configure/
|
|
|
|
auth_enabled: false
|
|
|
|
server:
|
|
http_listen_port: 3100
|
|
http_listen_address: 0.0.0.0
|
|
grpc_listen_port: 9096
|
|
log_level: info
|
|
grpc_server_max_concurrent_streams: 1000
|
|
|
|
common:
|
|
instance_addr: 127.0.0.1
|
|
path_prefix: /loki
|
|
storage:
|
|
filesystem:
|
|
chunks_directory: /loki/chunks
|
|
rules_directory: /loki/rules
|
|
replication_factor: 1
|
|
ring:
|
|
kvstore:
|
|
store: inmemory
|
|
|
|
query_range:
|
|
results_cache:
|
|
cache:
|
|
embedded_cache:
|
|
enabled: true
|
|
max_size_mb: 100
|
|
|
|
limits_config:
|
|
metric_aggregation_enabled: true
|
|
enable_multi_variant_queries: true
|
|
|
|
schema_config:
|
|
configs:
|
|
- from: 2020-10-24
|
|
store: tsdb
|
|
object_store: filesystem
|
|
schema: v13
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
pattern_ingester:
|
|
enabled: true
|
|
metric_aggregation:
|
|
loki_address: localhost:3100
|
|
|
|
frontend:
|
|
encoding: protobuf
|