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

Tab-delimited Graphite input #707

Closed
ianunruh opened this issue Jul 1, 2014 · 1 comment
Closed

Tab-delimited Graphite input #707

ianunruh opened this issue Jul 1, 2014 · 1 comment

Comments

@ianunruh
Copy link

ianunruh commented Jul 1, 2014

InfluxDB's plaintext Graphite input relies on fields being space-delimited in each entry. However, Carbon (for better or worse) is more forgiving (https://github.com/graphite-project/carbon/blob/master/lib/carbon/protocols.py#L74) when receiving plaintext metrics. Due to the behavior of Python 2.7's split method, it will accept tabs or an arbitrary number of spaces between fields as delimiters.

This ambiguity means that different producers of Graphite metrics (like Sensu metrics plugins) have different delimiters between fields and are therefore not compatible with InfluxDB as a Graphite receiver. What would be the implications of making the InfluxDB Graphite input (https://github.com/influxdb/influxdb/blob/master/src/api/graphite/graphite_metric.go#L31) compatible with these producers?

@ianunruh
Copy link
Author

👍

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

1 participant