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

Issue when writing a tag value ending in a back slash #225

Closed
metal-hed opened this issue Jan 9, 2019 · 4 comments
Closed

Issue when writing a tag value ending in a back slash #225

metal-hed opened this issue Jan 9, 2019 · 4 comments

Comments

@metal-hed
Copy link

This is related to influxdata/influxdb#5231 seems when a tag value ends in a \ , influx rejects the insert statement. I have seen other clients work around this by adding a space to the end of the tag value such as the python client

influxdata/influxdb-python@051da0c

is this something that can be done in this plugin as well?

@dmke
Copy link
Contributor

dmke commented Jan 9, 2019

Sure, the serialization happens in lib/influxdb/point_value.rb. If you want to give it a go, I'll merge your PR.

(Otherwise I need to find time to do this myself, and that's currently a scarce resource).

@metal-hed
Copy link
Author

I can give it a go, will open a PR in the next few days.

@dmke dmke closed this as completed in 21ea5c9 Jan 11, 2019
@dmke
Copy link
Contributor

dmke commented Jan 11, 2019

I've found some time and fixed it (after wrestling with travis and bundler...) :-)

Will release a new version soon.

@metal-hed
Copy link
Author

Wow amazing! I was going to take a look this afternoon but this is great

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants