config.yaml57 lines · main
1# Single-binary Loki — fits Phase 0 dogfood scale (one operator, low log
2# volume). Phase 4+ migration to a clustered Loki with object-storage
3# backend is documented in the README under "scale-out path".
4
5auth_enabled: false
6
7server:
8 http_listen_port: 3100
9 grpc_listen_port: 9095
10 log_level: info
11
12common:
13 instance_addr: 127.0.0.1
14 path_prefix: /loki
15 storage:
16 filesystem:
17 chunks_directory: /loki/chunks
18 rules_directory: /loki/rules
19 replication_factor: 1
20 ring:
21 kvstore:
22 store: inmemory
23
24schema_config:
25 configs:
26 - from: 2024-01-01
27 store: tsdb
28 object_store: filesystem
29 schema: v13
30 index:
31 prefix: index_
32 period: 24h
33
34limits_config:
35 retention_period: 30d
36 ingestion_rate_mb: 8
37 ingestion_burst_size_mb: 16
38 reject_old_samples: true
39 reject_old_samples_max_age: 168h
40
41compactor:
42 working_directory: /loki/compactor
43 compaction_interval: 10m
44 retention_enabled: true
45 delete_request_store: filesystem
46
47ruler:
48 storage:
49 type: local
50 local:
51 directory: /loki/rules
52 rule_path: /loki/rules
53 alertmanager_url: ''
54 ring:
55 kvstore:
56 store: inmemory
57 enable_api: true