-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloki-config.yaml
More file actions
40 lines (34 loc) · 792 Bytes
/
Copy pathloki-config.yaml
File metadata and controls
40 lines (34 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
auth_enabled: false
server:
http_listen_port: ${LOKI_PORT}
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: 2024-01-01
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: tsdb_index_
period: 24h
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h
storage_config:
tsdb_shipper:
active_index_directory: /loki/tsdb-index
cache_location: /loki/tsdb-cache
compactor:
working_directory: /loki/compactor
compaction_interval: 10m
retention_enabled: false # Отключаем retention