Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values encoded as Strings into Influxdb 0.9x #9

Closed
borick opened this issue Oct 20, 2015 · 1 comment
Closed

Values encoded as Strings into Influxdb 0.9x #9

borick opened this issue Oct 20, 2015 · 1 comment

Comments

@borick
Copy link

borick commented Oct 20, 2015

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
Copy link
Owner

mre commented Oct 26, 2015

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

Thanks @borick

@mre mre changed the title values encoded as Strings into influxdb 0.9x Values encoded as Strings into Influxdb 0.9x Oct 26, 2015
@mre mre added this to the v0.8.0 milestone Oct 27, 2015
@mre mre closed this as completed Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants