Difference between revisions of "Version 5.0/Plans"

From collectd Wiki
Jump to: navigation, search
(Added "MySQL plugin".)
(added Perl plugin (deprecated compat layers))
Line 18: Line 18:
  
 
* Due to backwards compatibility code it's possible to omit the <code>&lt;Database&nbsp;/&gt;</code> block. This legacy mode should be removed.
 
* Due to backwards compatibility code it's possible to omit the <code>&lt;Database&nbsp;/&gt;</code> block. This legacy mode should be removed.
 +
 +
== [[Plugin:Perl|Perl]] plugin ==
 +
 +
* <code>src/perl.c</code> and <code>bindings/perl/Collectd.pm</code> include various deprecated compatibility layers (look for the string "deprecated" in the source files) for earlier versions of the plugin that should be removed.
  
 
== [[Plugin:PostgreSQL|PostgreSQL]] plugin ==
 
== [[Plugin:PostgreSQL|PostgreSQL]] plugin ==

Revision as of 12:06, 12 July 2009

Description

The following is a list of changes which are backwards-incompatible and should therefore go into the next major release, 5.0. Please don't get excited, there currently is no work done to bring forward a version 5. This page serves the purpose to remind us what we wanted to change but couldn't, so that we don't forget it once we do start working on a new major release.

Apache plugin

  • Rename the plugin to “httpd” or similar, since lighttpd can be quried, too.

Exec plugin

  • Remove support for lines that do not start with a command. Currently, PUTVAL is prepended to such lines.

Interface plugin

  • The Interface plugin currently stores the interface in the type-instance. It'd be more in line with other plugins to use the plugin-instance here.

MySQL plugin

  • Due to backwards compatibility code it's possible to omit the <Database /> block. This legacy mode should be removed.

Perl plugin

  • src/perl.c and bindings/perl/Collectd.pm include various deprecated compatibility layers (look for the string "deprecated" in the source files) for earlier versions of the plugin that should be removed.

PostgreSQL plugin

  • src/utils_db_query.c includes compatibility code for early versions of the PostgreSQL plugin. This code should be removed.