projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
grpc plugin: Split out identifier into it's own message type.
[collectd.git]
/
proto
/
types.proto
diff --git
a/proto/types.proto
b/proto/types.proto
index
7f3d329
..
6e6714b
100644
(file)
--- a/
proto/types.proto
+++ b/
proto/types.proto
@@
-29,6
+29,14
@@
package collectd.types;
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
+message Identifier {
+ string host = 1;
+ string plugin = 2;
+ string plugin_instance = 3;
+ string type = 4;
+ string type_instance = 5;
+}
+
message Value {
oneof value {
uint64 counter = 1;
message Value {
oneof value {
uint64 counter = 1;
@@
-44,9
+52,5
@@
message ValueList {
google.protobuf.Timestamp time = 2;
google.protobuf.Duration interval = 3;
google.protobuf.Timestamp time = 2;
google.protobuf.Duration interval = 3;
- string host = 4;
- string plugin = 5;
- string plugin_instance = 6;
- string type = 7;
- string type_instance = 8;
+ Identifier identifier = 4;
}
}