X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=proto%2Fcollectd.proto;fp=proto%2Fcollectd.proto;h=0ed6606171c37e4359ebe335771ac64f22d5bf7d;hp=4bc3501345321dce50c27bd0090c59e9155d9aaa;hb=d26dd5c1db5c3310c9e69b2b910c6547469c99ce;hpb=00b1f1de1f40059a26d75964408be3a13738c3d8 diff --git a/proto/collectd.proto b/proto/collectd.proto index 4bc35013..0ed66061 100644 --- a/proto/collectd.proto +++ b/proto/collectd.proto @@ -29,13 +29,15 @@ package collectd; import "types.proto"; service Collectd { - // Dispatch collected values to collectd. - rpc DispatchValues(DispatchValuesRequest) returns (DispatchValuesReply); - // Query a list of values available from collectd's value cache. rpc QueryValues(QueryValuesRequest) returns (QueryValuesReply); } +service Dispatch { + // DispatchValues sends a stream of ValueLists to the server. + rpc DispatchValues(stream DispatchValuesRequest) returns (DispatchValuesReply); +} + // The arguments to DispatchValues. message DispatchValuesRequest { collectd.types.ValueList value_list = 1;