Attached is a patch against branch collectd-4.10 that fixes the Python write
callback function to use the appropriate data_set_t member when converting
the value_list_t to a PyList.

 

Previously, when iterating through values in a value_list_t, it always
compared the 0th (instead of nth) ds element of the data_set_t to determine
how to convert the value. In other words, Python write callbacks were
receiving bad data unless every data-source was of the same ds-type (e.g.
GAUGE).

 

Gregory Szorc

[email protected]

Attachment: 0001-obtain-proper-value-type-in-python-write-callback.patch
Description: Binary data

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to