mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-02 20:00:25 +08:00
国家/地区统计时上传流量、攻击量等信息
This commit is contained in:
@@ -232,6 +232,7 @@ message ComposeAdminDashboardResponse {
|
||||
repeated NodeStat topNodeStats = 38;
|
||||
repeated DomainStat topDomainStats = 39;
|
||||
|
||||
repeated CountryStat topCountryStats = 42;
|
||||
|
||||
repeated MetricDataChart metricDataCharts = 40;
|
||||
|
||||
@@ -269,6 +270,13 @@ message ComposeAdminDashboardResponse {
|
||||
int64 bytes = 4;
|
||||
}
|
||||
|
||||
message CountryStat {
|
||||
string countryName = 1;
|
||||
int64 bytes = 2;
|
||||
int64 countRequests = 3;
|
||||
float percent = 4; // 流量占比
|
||||
}
|
||||
|
||||
// 节点升级信息
|
||||
message UpgradeInfo {
|
||||
int64 countNodes = 1;
|
||||
|
||||
@@ -447,7 +447,10 @@ message UploadServerHTTPRequestStatRequest {
|
||||
string countryName = 2;
|
||||
string provinceName = 3;
|
||||
string cityName = 4;
|
||||
int64 count = 5;
|
||||
int64 countRequests = 5;
|
||||
int64 bytes = 6;
|
||||
int64 countAttackRequests = 7;
|
||||
int64 attackBytes = 8;
|
||||
}
|
||||
|
||||
message RegionProvider {
|
||||
|
||||
Reference in New Issue
Block a user