summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a8ac68)
raw | patch | inline | side by side (parent: 7a8ac68)
author | Pierre-Yves Ritschard <pyr@spootnik.org> | |
Thu, 20 Nov 2014 12:29:44 +0000 (13:29 +0100) | ||
committer | Pierre-Yves Ritschard <pyr@spootnik.org> | |
Thu, 20 Nov 2014 12:29:44 +0000 (13:29 +0100) |
src/collectd.conf.pod | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 03871a4bb6272fa78e3ca77dc210e3f81046c28b..eb94fa37a1f251739522f384f930a06a0cba9206 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
Host "localhost"
Port "6379"
Timeout 2000
+ <Query "LLEN myqueue">
+ Type "queue_length"
+ Instance "myqueue"
+ <Query>
</Node>
</Plugin>
@@ -5370,6 +5374,22 @@ read function is blocking, you should keep this value as low as possible. Keep
in mind that the sum of all B<Timeout> values for all B<Nodes> should be lower
than B<Interval> defined globally.
+=item B<Query> I<Querystring>
+
+The B<Query> block identifies a query to execute against the redis server.
+There may be an arbitrary number of queries to execute.
+
+=item B<Type> I<Collectd type>
+
+Within a query definition, a valid collectd type to use as when submitting
+the result of the query. When not supplied, will default to B<gauge>.
+
+=item B<Instance> I<Type instance>
+
+Within a query definition, an optional type instance to use when submitting
+the result of the query. When not supplied will default to the escaped
+command, up to 64 chars.
+
=back
=head2 Plugin C<rrdcached>