author | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Feb 2009 21:48:01 +0000 (22:48 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Feb 2009 22:13:53 +0000 (23:13 +0100) | ||
commit | 0b350ce8049e8c5db34751340e015c7a7937664e | |
tree | e315229adcd2762e61d1244a0926537afb883e6c | tree | snapshot |
parent | fb86aa60842b2b8ae3f00af34e685dcbf9ad2592 | commit | diff |
postgresql plugin: Added support for <Result> blocks.
This is a replacement for the "Column" config option (which has been
deprecated). <Result> blocks allow for much more flexible handling of the
data. Besides being able to use data types with multiple data sources, the
plugin now supports to generate the type instance using information from the
database.
An example <Result> block might look like this (taken from the manpage):
<Result>
Type counter
InstancePrefix "rt36_tickets"
InstancesFrom "type"
ValuesFrom "count"
</Result>
This is a replacement for the "Column" config option (which has been
deprecated). <Result> blocks allow for much more flexible handling of the
data. Besides being able to use data types with multiple data sources, the
plugin now supports to generate the type instance using information from the
database.
An example <Result> block might look like this (taken from the manpage):
<Result>
Type counter
InstancePrefix "rt36_tickets"
InstancesFrom "type"
ValuesFrom "count"
</Result>
src/collectd.conf.pod | diff | blob | history | |
src/postgresql.c | diff | blob | history | |
src/postgresql_default.conf | diff | blob | history |