mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-02 03:20:25 +08:00
增加服务带宽统计
This commit is contained in:
18
pkg/rpc/protos/service_server_bandwidth_stat.proto
Normal file
18
pkg/rpc/protos/service_server_bandwidth_stat.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user