X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=proto%2Ftypes.proto;h=6e6714b6ce8aec1dd1a7c29ab81607b0841322a6;hb=677a95a9e4d0adf7ebd2beb3820e5ef1116c32cf;hp=7f3d329d4f63404d3c28cd0a0043a82253006708;hpb=408b3fc30cabf109333b2b86caf5edf47f5b82f5;p=collectd.git 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; }