mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-07 23:30:25 +08:00
指标数据增加占比数据
This commit is contained in:
@@ -21,4 +21,15 @@ message MetricStat {
|
||||
NodeCluster nodeCluster = 30;
|
||||
Node node = 31;
|
||||
Server server = 32;
|
||||
|
||||
int64 sumCount = 40;
|
||||
float sumTotal = 41;
|
||||
}
|
||||
|
||||
// 需要上传的统计数据
|
||||
message UploadingMetricStat {
|
||||
int64 id = 1;
|
||||
string hash = 2;
|
||||
repeated string keys = 3;
|
||||
float value = 4;
|
||||
}
|
||||
@@ -19,7 +19,13 @@ service MetricStatService {
|
||||
|
||||
// 上传统计数据
|
||||
message UploadMetricStatsRequest {
|
||||
repeated MetricStat metricStats = 1;
|
||||
int64 serverId = 1;
|
||||
string time = 2;
|
||||
int64 count = 3;
|
||||
float total = 4;
|
||||
int32 version = 5;
|
||||
int64 itemId = 6;
|
||||
repeated UploadingMetricStat metricStats = 7;
|
||||
}
|
||||
|
||||
// 计算指标数据数量
|
||||
|
||||
Reference in New Issue
Block a user