mre/kafka-influxdb

Values encoded as Strings into Influxdb 0.9x

borick opened this issue · 1 comments

on my setup using centos 6, the Graphite encoder is encoding all values as "strings" into influxdb

I have temporarily edit collectd_graphite_encoder.py as a workaround, comment out the lines which add the "":

    def escape_value(self, value):
        value = self.escape_measurement(value)
        # if isinstance(value, text_type):
        #    return "\"{}\"".format(value.replace(
        #                "\"", "\\\""
        #    ))
        # else:
        return str(value)
mre commented

Should be fixed with 4d4b62f
If you want to test it you can clone from master.

Thanks @borick