实现集群看板

This commit is contained in:
GoEdgeLab
2021-07-05 11:37:10 +08:00
parent d4db125f9b
commit 78b9afba98
11 changed files with 2357 additions and 138 deletions

View File

@@ -12,4 +12,4 @@ message ServerDailyStat {
int64 countRequests = 6;
int64 countCachedRequests = 7;
int64 createdAt = 4;
}
}

View File

@@ -0,0 +1,11 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
// 统计看板
message ServerStatBoard {
int64 id = 1;
string name = 2;
bool isOn = 3;
}

View 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;
}