File tree Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,14 @@ auth_enabled: false
22
33server :
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_transfer_retries : 0
20- 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
2113
2214schema_config :
2315 configs :
@@ -30,22 +22,15 @@ schema_config:
3022 period : 24h
3123
3224storage_config :
33- boltdb :
34- directory : /opt/loki/index # 存储索引地址
3525 filesystem :
36- directory : /opt /loki/chunks
26+ directory : /tmp /loki/chunks
3727
3828limits_config :
39- enforce_metric_name : false
4029 reject_old_samples : true
4130 reject_old_samples_max_age : 168h
4231 ingestion_rate_mb : 30 # 修改每用户摄入速率限制,即每秒样本量,默认值为4M
4332 ingestion_burst_size_mb : 20 # 修改每用户摄入速率限制,即每秒样本量,默认值为6M
4433
45- chunk_store_config :
46- # max_look_back_period: 168h #回看日志行的最大时间,只适用于即时日志
47- max_look_back_period : 0s
48-
4934table_manager :
5035 # The retention period must be a multiple of the index / chunks
5136 # table "period" (see period_config).
You can’t perform that action at this time.
0 commit comments