[collectd] [PATCH] Annotate database meta data

Mark Wong mark.wong at myemma.com
Mon May 13 19:23:51 CEST 2013


On 05/09/2013 12:33 PM, Mark Wong wrote:
> Hi everyone,
>
> If anyone was interested in the postgresql plugin patch I posted a
> couple years back
> (http://mailman.verplant.org/pipermail/collectd/2011-January/004341.html) to
> put the things like table and index names in the meta data, I finally
> got back to making another pass at it.  I think I'm doing it a little
> smarter than before and I wonder if doing it this way will work with the
> other database plugins now.  I've tried it only against 5.2 so far:
>
> https://github.com/mwongatemma/collectd/commit/14bb87bd1b282340f4c49edf6c2f0f9a1b7addbd
>
>
> Please let me know if you have any questions or comments.

Hi again,

I was inspired to generalize what I was doing further to provide a 
MetadataFrom setting to be used like the ValuesFrom setting that names 
which columns to be added to the metadata:

https://github.com/collectd/collectd/pull/321

I hope everyone will like this better.

Regards,
Mark




More information about the collectd mailing list