节点看板数据中增加当月、昨日、今日流量

This commit is contained in:
刘祥超
2023-03-15 17:02:14 +08:00
parent 37e05101be
commit e6efbacb98
3 changed files with 271 additions and 234 deletions

View File

@@ -13516,7 +13516,7 @@
},
{
"name": "ComposeServerStatNodeBoardResponse",
"code": "message ComposeServerStatNodeBoardResponse {\n\tbool isActive = 1;\n\tint64 trafficInBytes = 2;\n\tint64 trafficOutBytes = 3;\n\tint64 countRequests = 4;\n\tint64 countAttackRequests = 5;\n\tint64 countConnections = 6;\n\tint64 cacheDiskSize = 7;\n\tint64 cacheMemorySize = 8;\n\tfloat cpuUsage = 9;\n\tfloat memoryUsage = 10;\n\tint64 memoryTotalSize = 11;\n\tfloat load = 12;\n\n\trepeated DailyTrafficStat dailyTrafficStats = 31;\n\trepeated HourlyTrafficStat hourlyTrafficStats = 32;\n\n\trepeated NodeValue cpuNodeValues = 34;\n\trepeated NodeValue memoryNodeValues = 35;\n\trepeated NodeValue loadNodeValues = 36;\n\trepeated NodeValue cacheDirsValues = 38;\n\n\trepeated MetricDataChart metricDataCharts = 37;\n\n\n\tmessage DailyTrafficStat {\n\t\tstring day = 1;\n\t\tint64 bytes = 2;\n\t\tint64 cachedBytes = 3;\n\t\tint64 countRequests = 4;\n\t\tint64 countCachedRequests = 5;\n\t\tint64 countAttackRequests = 6;\n\t\tint64 attackBytes = 7;\n\t}\n\n\n\tmessage HourlyTrafficStat {\n\t\tstring hour = 1;\n\t\tint64 bytes = 2;\n\t\tint64 cachedBytes = 3;\n\t\tint64 countRequests = 4;\n\t\tint64 countCachedRequests = 5;\n\t\tint64 countAttackRequests = 6;\n\t\tint64 attackBytes = 7;\n\t}\n}",
"code": "message ComposeServerStatNodeBoardResponse {\n\tbool isActive = 1;\n\tint64 trafficInBytes = 2;\n\tint64 trafficOutBytes = 3;\n\tint64 countRequests = 4;\n\tint64 countAttackRequests = 5;\n\tint64 countConnections = 6;\n\tint64 cacheDiskSize = 7;\n\tint64 cacheMemorySize = 8;\n\tfloat cpuUsage = 9;\n\tfloat memoryUsage = 10;\n\tint64 memoryTotalSize = 11;\n\tfloat load = 12;\n\tint64 monthlyTrafficBytes = 13; // 当月流量\n\tint64 dailyTrafficBytes = 14; // 当日流量\n\tint64 lastDailyTrafficBytes = 15; // 昨日流量\n\n\trepeated DailyTrafficStat dailyTrafficStats = 31;\n\trepeated HourlyTrafficStat hourlyTrafficStats = 32;\n\n\trepeated NodeValue cpuNodeValues = 34;\n\trepeated NodeValue memoryNodeValues = 35;\n\trepeated NodeValue loadNodeValues = 36;\n\trepeated NodeValue cacheDirsValues = 38;\n\n\trepeated MetricDataChart metricDataCharts = 37;\n\n\n\tmessage DailyTrafficStat {\n\t\tstring day = 1;\n\t\tint64 bytes = 2;\n\t\tint64 cachedBytes = 3;\n\t\tint64 countRequests = 4;\n\t\tint64 countCachedRequests = 5;\n\t\tint64 countAttackRequests = 6;\n\t\tint64 attackBytes = 7;\n\t}\n\n\n\tmessage HourlyTrafficStat {\n\t\tstring hour = 1;\n\t\tint64 bytes = 2;\n\t\tint64 cachedBytes = 3;\n\t\tint64 countRequests = 4;\n\t\tint64 countCachedRequests = 5;\n\t\tint64 countAttackRequests = 6;\n\t\tint64 attackBytes = 7;\n\t}\n}",
"doc": ""
},
{