influxdb/api
David Norton e27d3bbb21 Fix the timestamps of the points written by the collectd plugin
Try to use high resolution timestamp but if it's 0, fall back to
unix timestamp.

Collectd timestamps are uint64 and influxdb uses int64.  Change
to use type conversion instead of converting to string and then
parsing the string back to int64.  Also, test if the collectd
timestamp is too large for influxdb.  If it is, wrap around and
log an error message the first time but don't fill the log with
messages for every entry thereafter.

Move packet parsing code into its own function so it can be unit
tested.

Add unit tests to for packets using high resolution and unix
timestamps.

Fix #1051. Close #1054
2014-10-27 17:05:14 -04:00
..
collectd Fix the timestamps of the points written by the collectd plugin 2014-10-27 17:05:14 -04:00
graphite Api should have it's own coordinator interface 2014-09-03 15:10:42 -04:00
http Move admin assets into the compiled binary. 2014-10-20 17:43:42 -04:00
udp Api should have it's own coordinator interface 2014-09-03 15:10:42 -04:00
coordinator.go Split the different engines in their own types 2014-09-03 15:10:43 -04:00