X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=proto%2Fcollectd.proto;fp=proto%2Fcollectd.proto;h=614d1bd00acf03106f50f732c8a244c69bca0055;hp=917c5deb679985dd90388176f7e9449569e3ef37;hb=2653da4259ec55e133cb77c46ed0d07829253cfd;hpb=7b7903a58bfb3765ff196e81d7a088676b795157 diff --git a/proto/collectd.proto b/proto/collectd.proto index 917c5deb..614d1bd0 100644 --- a/proto/collectd.proto +++ b/proto/collectd.proto @@ -30,25 +30,25 @@ option go_package = "collectd.org/rpc/proto"; import "types.proto"; service Collectd { - // DispatchValues reads the value lists from the DispatchValuesRequest stream. + // PutValues reads the value lists from the PutValuesRequest stream. // The gRPC server embedded into collectd will inject them into the system // just like the network plugin. - rpc DispatchValues(stream DispatchValuesRequest) - returns (DispatchValuesResponse); + rpc PutValues(stream PutValuesRequest) + returns (PutValuesResponse); // QueryValues returns a stream of matching value lists from collectd's // internal cache. rpc QueryValues(QueryValuesRequest) returns (stream QueryValuesResponse); } -// The arguments to DispatchValues. -message DispatchValuesRequest { +// The arguments to PutValues. +message PutValuesRequest { // value_list is the metric to be sent to the server. collectd.types.ValueList value_list = 1; } -// The response from DispatchValues. -message DispatchValuesResponse {} +// The response from PutValues. +message PutValuesResponse {} // The arguments to QueryValues. message QueryValuesRequest {