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

Skip non-numerical values in graphite format #3179

Merged
merged 2 commits into from
Aug 29, 2017

Conversation

ctrlok
Copy link
Contributor

@ctrlok ctrlok commented Aug 28, 2017

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

Hi there.

I try to use telegraf with graphite. Right now I see some problems, because some fields values are non-numeric and graphite didn't support that.
I didn't sure that I want to change that, because of #1015 (comment).

Graphite format supports only numeric values. So, maybe we can skip strings?

@danielnelson
Copy link
Contributor

What is the error you receive?

@ctrlok
Copy link
Contributor Author

ctrlok commented Aug 29, 2017

I receive a lot of errors like

bad message: "my_prefix.mongodb.member_status \"SEC\" 1503736450\n"
--

or

bad message: "my_prefix.docker_container_cpu.container_id \"62f8ce7141893a29ae7ebcd55da44820749609208e080267304045f004c33202\" 1503507561\n"

@danielnelson danielnelson added this to the 1.4.0 milestone Aug 29, 2017
@danielnelson danielnelson merged commit 3806424 into influxdata:master Aug 29, 2017
@danielnelson
Copy link
Contributor

I merged this and added a similar change for bool fields which converts them to 0 or 1. 8225bd0

I'm putting these into 1.4.0-rc3

@ctrlok
Copy link
Contributor Author

ctrlok commented Aug 30, 2017

@danielnelson 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

Successfully merging this pull request may close these issues.

2 participants