2024-04-19 22:23:08 +08:00
rpc :
2024-04-24 15:42:43 +08:00
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
2024-12-04 11:18:39 +08:00
registerIP :
2024-12-06 17:25:42 +08:00
# autoSetPorts indicates whether to automatically set the ports
2024-12-07 17:35:42 +08:00
# if you use in kubernetes, set it to false
2024-12-06 17:25:42 +08:00
autoSetPorts : true
# List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances. These must match the number of configured prometheus ports
# It will only take effect when autoSetPorts is set to false.
ports : [ 10140 , 10141 , 10142 , 10143 , 10144 , 10145 , 10146 , 10147 , 10148 , 10149 , 10150 , 10151 , 10152 , 10153 , 10154 , 10155 ]
2024-04-19 22:23:08 +08:00
prometheus :
2024-04-24 15:42:43 +08:00
# Enable or disable Prometheus monitoring
2024-04-19 22:23:08 +08:00
enable : true
2024-04-24 15:42:43 +08:00
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
2024-12-10 11:43:19 +08:00
# It will only take effect when autoSetPorts is set to false.
2024-09-12 10:38:17 +08:00
ports : [ 12140 , 12141 , 12142 , 12143 , 12144 , 12145 , 12146 , 12147 , 12148 , 12149 , 12150 , 12151 , 12152 , 12153 , 12154 , 12155 ]
2024-04-19 22:23:08 +08:00
2024-04-24 15:42:43 +08:00
# IP address that the RPC/WebSocket service listens on; setting to 0.0.0.0 listens on both internal and external IPs. If left blank, it automatically uses the internal network IP
2024-04-19 22:23:08 +08:00
listenIP : 0.0 .0 .0
longConnSvr :
2024-04-24 15:42:43 +08:00
# WebSocket listening ports, must match the number of rpc.ports
2024-04-19 22:23:08 +08:00
ports : [ 10001 ]
2024-04-24 15:42:43 +08:00
# Maximum number of WebSocket connections
2024-04-19 22:23:08 +08:00
websocketMaxConnNum : 100000
2024-04-24 15:42:43 +08:00
# Maximum length of the entire WebSocket message packet
2024-04-19 22:23:08 +08:00
websocketMaxMsgLen : 4096
2024-04-24 15:42:43 +08:00
# WebSocket connection handshake timeout in seconds
2024-04-19 22:23:08 +08:00
websocketTimeout : 10