服务看板增加区域地图

This commit is contained in:
GoEdgeLab
2021-12-06 09:16:12 +08:00
parent 680ca831b3
commit 3d83b73ee6
3 changed files with 272 additions and 134 deletions

View File

@@ -163,6 +163,7 @@ message ComposeServerStatBoardResponse {
repeated HourlyTrafficStat hourlyTrafficStats = 31;
repeated NodeStat topNodeStats = 32;
repeated DomainStat topDomainStats = 33;
repeated CountryStat topCountryStats = 35;
repeated MetricDataChart metricDataCharts = 34;
@@ -203,6 +204,15 @@ message ComposeServerStatBoardResponse {
int64 countAttackRequests = 6;
int64 attackBytes = 7;
}
message CountryStat {
string countryName = 1;
int64 bytes = 2;
int64 countRequests = 3;
float percent = 4; // 流量占比
int64 countAttackRequests = 6;
int64 attackBytes = 7;
}
}
// 矩阵数据