v0.15.0
-
Enhancements
- Every connection method (like
readorwrite) can set per-callhttp_optspassed on to thehackneyclient - Querying for data can now return an
{:error, term}style tuple if the communication with the server failed. For example{:error, :nxdomain}if the host that is queried cannot be resolved byhackney(#33) - The line writer now accepts a retention policy used for writing (#34)
- The line writer will now return an
{:error, term}style tuple if a problem occurs. For example{:error, :nxdomain}if the host that should receive data cannot be resolved byhackney(#33) - Timeouts occurring when executing a query are now returned as
{:error, :timeout}instead of raising (#33)
- Every connection method (like
-
Backwards incompatible changes
- Series definitions raise upon compilation if the contain a tag and a field with the same name. This is done to prevent the InfluxDB behavior of adding
_1to such fields when storing them
- Series definitions raise upon compilation if the contain a tag and a field with the same name. This is done to prevent the InfluxDB behavior of adding