[collectd] wip patch to annotate postgres plugin values

Mark Wong mark.wong at myemma.com
Thu Jan 27 16:15:13 CET 2011


On 01/25/11 08:37, Mark Wong wrote:
> Hi all,
>
> I have a couple patches put together for annotating postgresql plugin 
> values with database, schema, table, and index names.  I'm not sure I 
> did this in the best way because I copied several udb_* functions into 
> postgresql.c with primarily parameter changes in order to pass extra 
> data around.  Any suggestions for these 2 changes:
>
I caught a mistake I made with putting the database name in the meta 
data and regenerated the changes:

https://github.com/mwongatemma/collectd/commit/2ac90b916aacfe9d992e399b33ac76918e54c33d
https://github.com/mwongatemma/collectd/commit/5b48220e929444f57b8380f77f749ab0d9f6f8e6

Regards,
Mark



More information about the collectd mailing list