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

Add feature to define datatype for InfluxDB fields #8

Merged
merged 5 commits into from
Jan 31, 2020

Conversation

pokerazor
Copy link

@pokerazor pokerazor commented Sep 16, 2019

Hi again :)
We ran into an issue, where the InfluxDB creates a field based on the first value received, if you try to e.g. write value=1. the field will be created as int. If your datatype then changes, e.g. to 1.1, InlfuxDB cannot accept it anymore.
That's why it is helpful to be able to specify the datatype right from the beginning, which is what we implemented in this PR. The config is still backwards compatible.
Also, we changed the config.yml file a little bit to reflect the latest changes and document the features (database per point, base64 decoding, HTTP push, explicit datatype per field), so that they're not so "hidden" ;)

@pokerazor
Copy link
Author

This might actually fix #6 , maybe?

@pokerazor
Copy link
Author

@blavka is this of interest to you?

Copy link
Member

@blavka blavka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I apologize for the late execution

config-bigclown.yml Outdated Show resolved Hide resolved
@pokerazor
Copy link
Author

@blavka sorry from our side for the delay, but now we added a second config file

@blavka blavka merged commit f31a476 into hardwario:master Jan 31, 2020
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.

None yet

2 participants