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

Feature request, add time resolution? #86

Open
cmongolang opened this issue Apr 9, 2021 · 3 comments
Open

Feature request, add time resolution? #86

cmongolang opened this issue Apr 9, 2021 · 3 comments

Comments

@cmongolang
Copy link

cmongolang commented Apr 9, 2021

The influxDB docs recommend using the coarsest time precision possible. Would it be possible to add capability to specify time precision?
I have been able to change this manually by changing from nanoseconds to milliseconds in Point.cxx, but I don't know how to work this in with the templates.
https://docs.influxdata.com/influxdb/v2.0/write-data/best-practices/optimize-writes/#use-the-coarsest-time-precision-possible

@offa
Copy link
Owner

offa commented Apr 9, 2021

The current API doesn't support other precisions yet unfortunately. This will need some additional work, since it should maintain compatibility and not introduce hacks or other ugly APIs. But I'll keep this on the list, especially towards v2 support.

@ronytigo
Copy link

@cmongolang
Can you show your change?

@offa
Copy link
Owner

offa commented Jan 28, 2023

You can modify the resolution here.

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

3 participants