网站列表增加QPS和攻击QPS信息

This commit is contained in:
GoEdgeLab
2023-07-07 18:51:41 +08:00
parent 89eb516dd0
commit 2daf5b0ef6
5 changed files with 775 additions and 706 deletions

View File

@@ -41,8 +41,10 @@ message Server {
int64 webId = 15;
bytes reverseProxyJSON = 16;
string bandwidthTime = 26;
int64 bandwidthBytes = 27;
string bandwidthTime = 26; // 带宽时间
int64 bandwidthBytes = 27; // 带宽字节数
int64 countRequests = 34; // 最近通常5分钟内访问量
int64 countAttackRequests = 35; // 最近识别到的攻击访问量
NodeCluster nodeCluster = 30;
repeated ServerGroup serverGroups = 31;

View File

@@ -380,8 +380,12 @@ message ListEnabledServersMatchRequest {
int64 nodeClusterId = 6;
int32 auditingFlag = 7;
string protocolFamily = 8;
bool trafficOutAsc = 9;
bool trafficOutDesc = 10;
bool trafficOutAsc = 9; // 是否流量正排序
bool trafficOutDesc = 10; // 是否流量倒排序
bool requestsAsc = 13; // 请求数正排序
bool requestsDesc = 14; // 请求数倒排序
bool attackRequestsAsc = 15; // 攻击请求数正排序
bool attackRequestsDesc = 16; // 攻击请求数倒排序
bool ignoreServerNames = 11; // 忽略域名
bool ignoreSSLCerts = 12; // 忽略证书
}