Commit Graph

19 Commits

Author SHA1 Message Date
Vishnu Kannan
9bf831aeb2 Set 'time' column in InfluxDB driver to preserve precision of stats even while batching writes to the DB. 2014-08-28 22:50:46 +00:00
Vishnu Kannan
45c9fb80e1 Simplify lock handling in influxdb driver.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-20 04:31:13 +00:00
Vishnu Kannan
9b5b221a57 Buffer stats in influxdb driver before writing to the Db. The buffering duration
is configurable via a flag and is set to 60 seconds by default.
The storage driver test code has been refactored a bit to help test the new buffering
feature and will be future proof.

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-19 19:59:33 +00:00
Rohit Jnagal
ca9cd37e8a Reduce influxdb schema to only the values we currently plan to use.
We'll re-add new params as they are needed and as we understand influxdb
scalability better.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 22:59:32 +00:00
Rohit Jnagal
24a5a6aa82 Resolve test conflicts on #167.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 15:13:22 +00:00
Nan Deng
55b65f4eb9 Retrieve 0 stats/samples when user asked for zero stats/samples 2014-07-23 17:28:41 -07:00
Nan Monnand Deng
a38d60ac54 influxdb changed their API, again. 2014-07-19 01:36:47 -04:00
Nan Deng
2d3f8d9f0f re-enable influxdb 2014-07-17 14:36:19 -07:00
Nan Deng
bdd2b021c3 remove support for influxdb until influxdb/influxdb#756 get fixed 2014-07-16 18:00:18 -07:00
Nan Monnand Deng
8c4a1ef81d Requires storage driver to return stats in time increasing order. Change influxdb driver to return stats in correct order. 2014-07-11 22:09:12 +00:00
Nan Deng
a96e4e12e2 style 2014-07-07 16:10:09 -07:00
Nan Deng
05b997d6ec comment 2014-07-02 16:23:31 -07:00
Nan Deng
4115f73343 type check 2014-07-02 16:20:05 -07:00
Nan Deng
84fefcdab9 use const 2014-07-02 16:16:51 -07:00
Nan Deng
fceb2707dd percentiles 2014-07-02 16:06:27 -07:00
Nan Deng
92c34ae490 check if the stats is valid 2014-07-02 14:57:23 -07:00
Nan Deng
e4c439ce25 passed all existing unit tests 2014-07-02 14:05:06 -07:00
Nan Deng
7bd8cc2c0b Passed first unit test. Waiting for a fix for influxdb/influxdb-go#12 2014-07-02 11:15:48 -07:00
Nan Deng
b94c9936d0 influxdb 2014-07-01 19:21:43 -07:00