[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
Florian Forster
octo at verplant.org
Tue Aug 19 10:12:03 CEST 2008
contrib/collection.cgi | 10 ++++
src/collectd.conf.pod | 46 +++++++++++++----
src/postgresql.c | 111 ++++++++++++++++++++++++++++---------------
src/postgresql_default.conf | 58 +++++++++++++++++------
src/types.db | 1 +
5 files changed, 162 insertions(+), 64 deletions(-)
New commits:
commit 3f0678c1e368e5236a538fb5ea817f5f0adae79a
Author: Sebastian Harl <sh at tokkee.org>
Date: Sun Aug 17 14:11:13 2008 +0200
postgresql plugin: Added support for protocol versions less than 3.
Support for passing parameters to a query was added in protocol version 3
which was introduced in version 7.4 of PostgreSQL (later version still support
earlier protocol versions though). If that is not available, we now fall back
to PQexec() if no parameters have been specified. Else, we skip the query and
report an error.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
commit 5c49be31adce24c02687a5605b571a540daff739
Author: Sebastian Harl <sh at tokkee.org>
Date: Sun Aug 17 14:10:29 2008 +0200
postgresql plugin: Fixed determination of 'max_params_num'.
When adding the default queries to a database definition, 'max_params_num' has
not been updated at all, resulting in a failed assertion during query
execution. This is now fixed by splitting the common code for adding a query
definition to a database definition into a new function and using that
function where appropriate.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
commit ed365605bab34d082123289127e9d5002b4d7bc5
Author: Sebastian Harl <sh at tokkee.org>
Date: Sat Aug 16 19:40:09 2008 +0200
postgresql plugin: Added "disk_usage" query.
This is a new default query which collects the on-disk size of a database in
bytes. A new type "pg_db_size" has been added to types.db for this purpose.
The documentation in collectd.conf(5) and collection.cgi have been updated to
reflect this change.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
commit 83b945c4ced534b0bdf94239cf62a1022abbb2cb
Author: Sebastian Harl <sh at tokkee.org>
Date: Sat Aug 16 19:39:10 2008 +0200
postgresql_default.conf, postgresql plugin: Split default queries by category.
The default queries have been split as follows:
| old | new |
+----------------+------------------------------------+
| database | backends, transactions |
| user_tables | queries, query_plans, table_states |
| io_user_tables | disk_io |
This allows for a more fine-grained control over which statistics are to be
collected.
The documentation and default queries definition have been updated to reflect
this change.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
More information about the collectd-changes
mailing list