2022-03-27 16:39:41 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
option go_package = "./pb";
|
|
|
|
|
|
|
|
|
|
package pb;
|
|
|
|
|
|
2022-09-13 10:50:26 +08:00
|
|
|
import "models/model_server_domain_hourly_stat.proto";
|
2022-03-27 16:39:41 +08:00
|
|
|
|
|
|
|
|
// 服务域名按小时统计服务
|
|
|
|
|
service ServerDomainHourlyStatService {
|
|
|
|
|
// 读取服务的域名排行
|
|
|
|
|
rpc listTopServerDomainStatsWithServerId(ListTopServerDomainStatsWithServerIdRequest) returns (ListTopServerDomainStatsWithServerIdResponse);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 读取域名排行
|
|
|
|
|
message ListTopServerDomainStatsWithServerIdRequest{
|
|
|
|
|
int64 nodeClusterId = 1;
|
|
|
|
|
int64 nodeId = 2;
|
|
|
|
|
int64 serverId = 3;
|
|
|
|
|
string hourFrom = 4;
|
|
|
|
|
string hourTo = 5;
|
|
|
|
|
int64 size = 6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ListTopServerDomainStatsWithServerIdResponse {
|
|
|
|
|
repeated ServerDomainHourlyStat domainStats = 1;
|
|
|
|
|
}
|