influxdb-csharp icon indicating copy to clipboard operation
influxdb-csharp copied to clipboard

Added RetentionPolicy and Precision

Open Igor-Toropov opened this issue 7 years ago • 2 comments

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.

Igor-Toropov avatar Feb 22 '18 22:02 Igor-Toropov

Thanks for the PR, @Igor-Toropov.

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

Best regards, Nick

nblumhardt avatar Feb 23 '18 05:02 nblumhardt

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.

gambrose avatar Feb 23 '18 07:02 gambrose