redis plugin: [new feature] ability to select database for query
[collectd.git] / src / collectd.conf.pod
index 7a21ba2..c097a48 100644 (file)
@@ -7276,6 +7276,7 @@ which configures the connection parameters for this node.
         Port "6379"
         Timeout 2000
         <Query "LLEN myqueue">
+          Database 0
           Type "queue_length"
           Instance "myqueue"
         <Query>
@@ -7321,6 +7322,11 @@ than B<Interval> defined globally.
 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<Database> I<Index>
+
+This index selects the redis database to use for queries. Defaults
+to C<0>.
+
 =item B<Type> I<Collectd type>
 
 Within a query definition, a valid collectd type to use as when submitting