Skip to content

Commit 5763bf7

Browse files
committed
Update config.yaml
1 parent 5e98a86 commit 5763bf7

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

loki/config.yaml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,14 @@ auth_enabled: false
22

33
server:
44
http_listen_port: 3100
5-
grpc_listen_port: 3110
6-
grpc_server_max_recv_msg_size: 1073741824 #grpc最大接收消息值,默认4m
7-
grpc_server_max_send_msg_size: 1073741824 #grpc最大发送消息值,默认4m
85

9-
ingester:
10-
lifecycler:
11-
address: 127.0.0.1
12-
ring:
13-
kvstore:
14-
store: inmemory
15-
replication_factor: 1
16-
final_sleep: 0s
17-
chunk_idle_period: 5m
18-
chunk_retain_period: 30s
19-
max_chunk_age: 20m #一个timeseries块在内存中的最大持续时间。如果timeseries运行的时间超过此时间,则当前块将刷新到存储并创建一个新块
6+
common:
7+
ring:
8+
instance_addr: 127.0.0.1
9+
kvstore:
10+
store: inmemory
11+
replication_factor: 1
12+
path_prefix: /tmp/loki
2013

2114
schema_config:
2215
configs:
@@ -29,8 +22,6 @@ schema_config:
2922
period: 24h
3023

3124
storage_config:
32-
boltdb:
33-
directory: /opt/loki/index #存储索引地址
3425
filesystem:
3526
directory: /opt/loki/chunks
3627

0 commit comments

Comments
 (0)