带宽相关数据增加百分位

This commit is contained in:
刘祥超
2022-11-04 20:29:56 +08:00
parent 3849b651af
commit f0e9b5c7e1
5 changed files with 4140 additions and 4074 deletions

View File

@@ -48,6 +48,8 @@ message FindHourlyServerBandwidthStatsRequest {
message FindHourlyServerBandwidthStatsResponse {
repeated Stat stats = 1;
int32 percentile = 2; // 百分位
Stat nthStat = 3; // 百分位统计数据
message Stat {
string day = 1;
@@ -65,6 +67,8 @@ message FindDailyServerBandwidthStatsRequest {
message FindDailyServerBandwidthStatsResponse {
repeated Stat stats = 1;
int32 percentile = 2; // 百分位
Stat nthStat = 3; // 百分位统计数据
message Stat {
string day = 1;

View File

@@ -145,8 +145,10 @@ message ComposeServerStatBoardResponse {
int64 monthlyPeekBandwidthBytes = 3; // 当月带宽峰值
int64 lastMonthlyPeekBandwidthBytes = 4; // 上个月带宽峰值
int32 bandwidthPercentile = 7;
repeated ServerBandwidthStat minutelyBandwidthStats = 1; // 分钟级的带宽统计
repeated ServerBandwidthStat dailyBandwidthStats = 6; // 按天的带宽统计
ServerBandwidthStat minutelyNthBandwidthStat = 8;
repeated DailyTrafficStat dailyTrafficStats = 30;
repeated HourlyTrafficStat hourlyTrafficStats = 31;
repeated NodeStat topNodeStats = 32;