influxdb/tsdb/internal/meta.proto

35 lines
576 B
Protocol Buffer

syntax = "proto3";
package platform.tsdb;
option go_package = "internal";
//========================================================================
//
// Metadata
//
//========================================================================
message Series {
string Key = 1;
repeated Tag Tags = 2;
}
message Tag {
string Key = 1;
string Value = 2;
}
message MeasurementFields {
string Name = 1;
repeated Field Fields = 2;
}
message Field {
string Name = 1;
int32 Type = 2;
}
message MeasurementFieldSet {
repeated MeasurementFields Measurements = 1;
}