实现公用的统计指标

This commit is contained in:
GoEdgeLab
2021-07-19 15:22:49 +08:00
parent 586e554037
commit 8274a612e6
4 changed files with 114 additions and 81 deletions

View File

@@ -14,4 +14,5 @@ message MetricItem {
int32 period = 7;
string periodUnit = 8;
string value = 10;
bool isPublic = 11;
}

View File

@@ -36,6 +36,7 @@ message CreateMetricItemRequest {
int32 period = 5;
string periodUnit = 6;
string value = 7;
bool isPublic = 8;
}
message CreateMetricItemResponse {
@@ -51,6 +52,7 @@ message UpdateMetricItemRequest {
string periodUnit = 5;
string value = 6;
bool isOn = 7;
bool isPublic = 8;
}
// 查找单个指标信息