节点上报器 (Node Reporter)
node_reporter 是一个轻量级代理程序,部署在您的 VPS 节点(即运行 Xray 服务的地方)上。它负责实时监控流量并将数据上报给调度服务器。
部署流程
- 安装 Xray: 确保您的 VPS 上已正确安装并运行 Xray 服务。
- 开启统计: 在 Xray 配置文件中启用 API 统计模块。
- 运行 Reporter:bash
cd dispatch_server/cmd/node_reporter go build -o reporter main.go ./reporter -server https://your-dispatch-server.com -token your-secret-token