Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Added RetentionPolicy and Precision #51

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

Igor-Toropov
Copy link

Retention policy needs to be specified for uploads to non-default retention policy.
Seconds precision is generally used for IT infrastructure monitoring and uploading nanoseconds adds significant overhead for InfluxDB.

@nblumhardt
Copy link
Contributor

Thanks for the PR, @Igor-Toropov.

Does the precision change overlap with #42, which was just released in 1.1.0?

Best regards,
Nick

@gambrose
Copy link
Contributor

This change seems more about adding precision support to the LineProtocolPoint api than overlapping with the LineProtocolWriter api.
But it might be worth changing the LineProtocolPoint to use the LineProtocolWriter rather than duplicating the precision writing code.

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

Successfully merging this pull request may close these issues.

3 participants