X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=9b72b437ffb95cc8e4aa0b31d5ee8d82d5f63f10;hb=a3bc3e9a560b8e1da1be9fa040116226cf6798ab;hp=67fe3b631415bc654ce4f3614309c69a1ce8b521;hpb=f25e41d212334682fce74da0824ac55038cab8f2;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 67fe3b63..9b72b437 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -356,6 +356,7 @@ than those of other plugins. It usually looks something like this: Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category" Type "gauge" + InstancePrefix "out_of_stock" InstancesFrom "category" ValuesFrom "value" @@ -400,6 +401,7 @@ Example: Statement "select station, temperature, humidity from environment" Type "temperature" + # InstancePrefix "foo" InstancesFrom "station" ValuesFrom "temperature" @@ -444,6 +446,11 @@ setting below. There must be exactly one B option inside each B block. +=item B I + +Prepends I followed by a dash I<("-")> to the type instance. See +B on how the rest of the type instance is built. + =item B I [I ...] Specifies the columns whose values will be used to create the "TypeInstance"