update protobuf

This commit is contained in:
tomsun28
2021-11-25 21:18:43 +08:00
parent 7298c964de
commit 24c07b4f93
2 changed files with 1056 additions and 142 deletions
File diff suppressed because it is too large Load Diff
+9 -1
View File
@@ -16,11 +16,19 @@ message MetricsData
// 采集响应信息
string msg = 6;
// 采集指标名
repeated string fields = 7;
repeated Field fields = 7;
// 采集指标值集合(fields作为字段名称与ValueRow映射)
repeated ValueRow values = 8;
}
message Field
{
// 指标采集字符名称
string name = 1;
// 字段类型:0-number数字 1-string字符串
uint32 type = 2;
}
message ValueRow
{
// 主键实例,唯一标识这行数据