blob: 815408acf93ae5a0b9a646ab96ef48c264302d91 (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
auth_enabled: false
server:
http_listen_port: 3100
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /var/lib/loki
schema_config:
configs:
- from: 2020-05-15
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
storage_config:
filesystem:
directory: /var/lib/loki/chunks
analytics:
reporting_enabled: false
limits_config:
# Rate limits
ingestion_rate_strategy: global
ingestion_rate_mb: 10
ingestion_burst_size_mb: 20
per_stream_rate_limit: 3MB
per_stream_rate_limit_burst: 15MB
# Stream limits
max_global_streams_per_user: 10000
max_streams_per_user: 0
# Validation
max_line_size: 256KB
max_line_size_truncate: false
max_label_name_length: 1024
max_label_value_length: 2048
max_label_names_per_series: 15
# Time constraints
reject_old_samples: true
reject_old_samples_max_age: 168h # 7 days
creation_grace_period: 10m
unordered_writes: true
ingester:
# Chunk settings
chunk_idle_period: 30m
chunk_target_size: 1572864 # 1.5 MB
chunk_encoding: snappy
max_chunk_age: 2h
# WAL settings
wal:
enabled: true
dir: /var/lib/loki/wal
checkpoint_duration: 5m
flush_on_shutdown: true
|