InfluxCommunity / influxdb-ruby

Ruby client for InfluxDB
MIT License
370 stars 133 forks source link

Raise error if write point values missing #236

Closed todtb closed 4 years ago

todtb commented 4 years ago

Raise a LineProtocolError if attempting to write empty values as field set is required. Adds descriptive feedback to InfluxDB's response {"error":"unable to parse '{series},{tags} ': invalid field format"} when a value hash is provide with no keys.

dmke commented 4 years ago

Merged in 588d2aed89c98e1dd108921bf345969396c20c1c.

dmke commented 4 years ago

I've released version 0.8.0 to rubygems.org. Thank you for your contribution!

todtb commented 4 years ago

With pleasure. Thanks for getting it in so quick.