diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 67fe3b631415bc654ce4f3614309c69a1ce8b521..9b72b437ffb95cc8e4aa0b31d5ee8d82d5f63f10 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
<Result>
Type "gauge"
+ InstancePrefix "out_of_stock"
InstancesFrom "category"
ValuesFrom "value"
</Result>
Statement "select station, temperature, humidity from environment"
<Result>
Type "temperature"
+ # InstancePrefix "foo"
InstancesFrom "station"
ValuesFrom "temperature"
</Result>
There must be exactly one B<Type> option inside each B<Result> block.
+=item B<InstancePrefix> I<prefix>
+
+Prepends I<prefix> followed by a dash I<("-")> to the type instance. See
+B<InstancesFrom> on how the rest of the type instance is built.
+
=item B<InstancesFrom> I<column0> [I<column1> ...]
Specifies the columns whose values will be used to create the "TypeInstance"