数据看板中增加升级信息

This commit is contained in:
GoEdgeLab
2021-05-11 22:47:44 +08:00
parent effbdcabd1
commit b596926600
2 changed files with 303 additions and 142 deletions

View File

@@ -209,6 +209,11 @@ message ComposeAdminDashboardResponse {
repeated DailyTrafficStat dailyTrafficStats = 30;
repeated HourlyTrafficStat hourlyTrafficStats = 31;
UpgradeInfo nodeUpgradeInfo = 32;
UpgradeInfo apiNodeUpgradeInfo = 33;
UpgradeInfo monitorNodeUpgradeInfo = 34;
UpgradeInfo userNodeUpgradeInfo = 35;
UpgradeInfo authorityNodeUpgradeInfo = 36;
message DailyTrafficStat {
string day = 1;
@@ -219,4 +224,10 @@ message ComposeAdminDashboardResponse {
string hour = 1;
int64 bytes = 2;
}
// 节点升级信息
message UpgradeInfo {
int64 countNodes = 1;
string newVersion = 2;
}
}