46 lines
981 B
YAML
46 lines
981 B
YAML
server:
|
|
http_listen_port: 3100
|
|
grpc_listen_port: 9096
|
|
log_level: info
|
|
chunk_target_size: 1048576
|
|
schema_config:
|
|
configs:
|
|
- from: 2020-10-15
|
|
store: boltdb-shipper
|
|
object_store: filesystem
|
|
schema: v11
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
storage_config:
|
|
boltdb_shipper:
|
|
active_index_directory: /loki/index
|
|
cache_location: /loki/boltdb-cache
|
|
shared_store: filesystem
|
|
filesystem:
|
|
directory: /loki/chunks
|
|
limits_config:
|
|
enforce_metric_name: false
|
|
reject_old_samples: true
|
|
reject_old_samples_max_age: 168h
|
|
chunk_store_config:
|
|
max_look_back_period: 168h
|
|
compactor:
|
|
working_directory: /loki/boltdb-shipper-compactor
|
|
shared_store: filesystem
|
|
compactor_ring:
|
|
kvstore:
|
|
store: inmemory
|
|
ruler:
|
|
storage:
|
|
type: local
|
|
local:
|
|
directory: /loki/rules
|
|
ring:
|
|
kvstore:
|
|
store: inmemory
|
|
rule_path: /loki/rules-temp
|
|
alertmanager_url: http://localhost:9093
|
|
enable_api: true
|
|
EOF
|