Vincent Daniel
ef0f4d1c61
feat: handling retention policy in influxdb
...
docs: Adding storage_driver_influxdb_retention_policy flag to the influxdb documentation
fix: using rentention policy variable in test
2017-04-28 21:13:00 +02:00
Tim St. Clair
afe67fec68
Cleanup comment style: // should be proceded by a space
2016-10-07 17:06:02 -07:00
Antony Woods
a2128c6efa
Add labels to tags in influxdb
2016-04-20 09:52:56 +01:00
Lei Xue
5b7a2fbd45
refactor the function of StatsEq
2016-01-09 09:20:11 +08:00
Lei Xue
23496fdf03
fix compile issue of influxdb test
2016-01-09 09:16:31 +08:00
Jimmi Dyson
706a954e66
Rename influxdb field
2016-01-07 17:35:25 +00:00
Jimmi Dyson
05b435e1eb
Tidy up conversion type switch
2016-01-07 17:32:33 +00:00
Matthias Nüßler
ada6e3d354
Upgrade InfluxDB storage to InfluxDB 0.9
...
- Fix #743
- Rewrite InfluxDB storage for new InfluxDB API data structures.
- Store each measurement separately instead of storing all measurements
in a single big "table" with many columns/fields.
- Use tags add metadata to points, such as the container name. Tags are
a new feature in InfluxDB 0.9.
2016-01-07 14:32:38 +00:00
Jimmi Dyson
b0ce5720b0
Refactor storage plugins
2015-12-02 08:41:50 +00:00
Lei Xue
dbbe38dfed
re-order the import package
2015-11-30 16:43:22 +08:00
Rohit Jnagal
1a2781819e
Separate in-memory cache from storage drivers.
2015-06-02 16:06:01 +00:00
Rohit Jnagal
80fabb3e60
Remove RecentStats() from all storage drivers except memory.
...
We should probably make memory as a cache type rather than storage.
RecentStats() can then be removed from the storage interface.
Will try it out as a separate PR.
2015-06-01 16:52:11 +00:00
Rohit Jnagal
872546ba3a
Bulk move current info api to info/v1. Making room for info/v2.
2015-03-04 00:47:28 +00:00
Rohit Jnagal
ed155019ac
Verify and fix error message nit :)
2015-01-14 01:15:13 +00:00
Vishnu Kannan
0e13061cfa
Fix issue in influxdb driver that prevented container name and hostname from being populated.
2014-11-18 19:13:54 +00:00
Victor Marmol
add5147769
Flatten ContainerStats struct
2014-10-20 11:17:20 -07:00
Vishnu Kannan
5e8fecea6a
Adding filesystem usage calculation for docker containers. This patch also includes some internal refactoring.
...
'machine' api now exports a list of all existing 'ext*' filesystems along with the capacity.
2014-10-06 09:51:32 +00:00
Vishnu Kannan
8fd73e7fc0
Adding filesystem stats to db storage drivers. Moved FsStats to info package.
2014-10-01 18:49:10 +00:00
Victor Marmol
42add2409a
Removing sampling and percentiles from interface.
...
Also removing all implementations.
2014-09-15 14:13:07 -07:00
Nan Monnand Deng
74abe4c152
parenthesis.
2014-09-06 15:03:12 -04:00
Nan Monnand Deng
719b9ead20
remove string rep of time
2014-09-05 18:14:02 -04:00
Nan Monnand Deng
f3f098f3d2
delete data from influxdb after unit test
2014-09-05 17:39:34 -04:00
Nan Monnand Deng
b9f68da4f1
remove debug code
2014-09-05 17:38:34 -04:00
Nan Monnand Deng
5bc9425c54
panic->error
2014-09-05 17:37:55 -04:00
Nan Monnand Deng
9d6235f4d0
remove Samples() Percentiles() from influxdb driver
2014-09-05 15:33:25 -04:00
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
Victor Marmol
401a44bbae
Ignore the InfluxDB tests while they are flaky.
2014-08-25 17:00:37 -07: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
Rohit Jnagal
10d631be6d
Factor out data comparator for storage tests.
...
For influxdb, we are planning to export lesser data. Having a separate
comparator will let us reuse the same tests.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 01:28:27 +00:00
Vish Kannan
6c2694a53b
Merge pull request #105 from monnand/re-enable-influxdb
...
re-enable unit tests for influxdb
2014-08-06 16:46:21 -07:00
Nan Deng
55b65f4eb9
Retrieve 0 stats/samples when user asked for zero stats/samples
2014-07-23 17:28:41 -07:00
Nan Deng
290f57dd0a
re-enable unit tests for influxdb
2014-07-22 14:12:33 -07:00
Victor Marmol
7e380f6944
Skip influxdb tests for now.
2014-07-22 11:36:35 -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
a1cb5bf4ef
allow the storage to store some inaccurate time
2014-07-03 20:55:56 +00: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
41dcf6d42d
no curry
2014-07-02 15:20:21 -07:00
Nan Deng
562a150592
more on test
2014-07-02 15:12:37 -07:00
Nan Deng
92c34ae490
check if the stats is valid
2014-07-02 14:57:23 -07:00
Nan Deng
795b451288
tested on multi-machine multi-container scenario
2014-07-02 14:24:45 -07:00