增加服务带宽统计

This commit is contained in:
刘祥超
2022-07-05 20:09:19 +08:00
parent f27a55c2b6
commit 22479278b9
7 changed files with 4056 additions and 3536 deletions

View File

@@ -0,0 +1,18 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/rpc_messages.proto";
import "models/model_server_bandwidth_stat.proto";
// 服务带宽统计服务
service ServerBandwidthStatService {
// 上传带宽统计
rpc uploadServerBandwidthStats(UploadServerBandwidthStatsRequest) returns (RPCSuccess);
}
// 上传带宽统计
message UploadServerBandwidthStatsRequest {
repeated ServerBandwidthStat serverBandwidthStats = 1;
}