mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-22 10:40:25 +08:00
实现集群看板
This commit is contained in:
@@ -12,4 +12,4 @@ message ServerDailyStat {
|
||||
int64 countRequests = 6;
|
||||
int64 countCachedRequests = 7;
|
||||
int64 createdAt = 4;
|
||||
}
|
||||
}
|
||||
|
||||
11
pkg/rpc/protos/models/model_server_stat_board.proto
Normal file
11
pkg/rpc/protos/models/model_server_stat_board.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// 统计看板
|
||||
message ServerStatBoard {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
bool isOn = 3;
|
||||
}
|
||||
13
pkg/rpc/protos/models/model_server_stat_board_chart.proto
Normal file
13
pkg/rpc/protos/models/model_server_stat_board_chart.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_metric_chart.proto";
|
||||
|
||||
// 统计看板条目
|
||||
message ServerStatBoardChart {
|
||||
int64 id = 1;
|
||||
|
||||
MetricChart metricChart = 30;
|
||||
}
|
||||
Reference in New Issue
Block a user