X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=proto%2Ftypes.proto;fp=proto%2Ftypes.proto;h=6e6714b6ce8aec1dd1a7c29ab81607b0841322a6;hp=7f3d329d4f63404d3c28cd0a0043a82253006708;hb=677a95a9e4d0adf7ebd2beb3820e5ef1116c32cf;hpb=9d6e008daa9e455db6bba843c3796b7c6f0adf0c diff --git a/proto/types.proto b/proto/types.proto index 7f3d329d..6e6714b6 100644 --- 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"; +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; @@ -44,9 +52,5 @@ message ValueList { 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; }