summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c3ec9f3)
raw | patch | inline | side by side (parent: c3ec9f3)
author | Florian Forster <octo@collectd.org> | |
Thu, 11 Aug 2016 06:34:31 +0000 (08:34 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 11 Aug 2016 06:34:44 +0000 (08:34 +0200) |
DispatchValues' documentation is now written from the POV of the server,
not the caller as it was previously worded.
not the caller as it was previously worded.
proto/collectd.proto | patch | blob | history |
diff --git a/proto/collectd.proto b/proto/collectd.proto
index 37df5b662a12e4209ce35999323048a8b64a48e6..917c5deb679985dd90388176f7e9449569e3ef37 100644 (file)
--- a/proto/collectd.proto
+++ b/proto/collectd.proto
import "types.proto";
service Collectd {
- // Query a list of values available from collectd's value cache.
- rpc QueryValues(QueryValuesRequest) returns (stream QueryValuesResponse);
-
- // DispatchValues sends a stream of ValueLists to the server.
+ // DispatchValues reads the value lists from the DispatchValuesRequest stream.
+ // The gRPC server embedded into collectd will inject them into the system
+ // just like the network plugin.
rpc DispatchValues(stream DispatchValuesRequest)
returns (DispatchValuesResponse);
+
+ // 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 { collectd.types.ValueList value_list = 1; }
+message DispatchValuesRequest {
+ // value_list is the metric to be sent to the server.
+ collectd.types.ValueList value_list = 1;
+}
// The response from DispatchValues.
message DispatchValuesResponse {}