Commit Graph

28 Commits

Author SHA1 Message Date
Jose I. Monreal Bailey
96a7710a45 Adding new storage driver stdout 2015-08-11 15:39:23 -03:00
Julien Maitrehenry
1e35331848 Update statsd storage - cpu, memory and network done
Add Fs stats to statsd

Update import for pointing to official repository

Update statsd storage for respecting fmt coding style

Create a separate client file

Fix gofmt
2015-07-28 14:55:15 -04:00
Rohit Jnagal
1a2781819e Separate in-memory cache from storage drivers. 2015-06-02 16:06:01 +00:00
superzhaoyy
43fe9556b1 Add the support for redis in cAdvisor's storage 2015-05-13 00:03:14 -04:00
Victor Marmol
5fd8273806 Allow customizing storage duration. 2015-04-22 09:43:30 -07:00
Victor Marmol
d9f8a0920c Move StatsBuffer to be time-based.
It now keeps stats for a certain amount of time before expiring them. It
used to keep a certain number of stats instead.
2015-04-22 09:43:30 -07:00
Victor Marmol
82034c1fb0 Use formatting glog.Info 2015-04-15 13:55:54 -07:00
Victor Marmol
99a48d8310 Make explicit the use of InMemoryStorage in Manager.
The current structure is a remnant of when the in memory storage was one
of the options for backing store. Today, we always have the memory
storage with an optional "backend storage" plugin. This commit makes the
InMemoryStorage use explicit.
2015-02-18 14:09:59 -08:00
Rohit Jnagal
ed155019ac Verify and fix error message nit :) 2015-01-14 01:15:13 +00:00
Dennis Benkert
47b27143d7 made storage table names configurable 2014-12-16 18:33:42 +01:00
Victor Marmol
d4500e7d6d Remove unused samples flag. 2014-12-04 09:36:46 -08:00
Victor Marmol
42add2409a Removing sampling and percentiles from interface.
Also removing all implementations.
2014-09-15 14:13:07 -07:00
Victor Marmol
fd784cbca2 Remove memory storage driver and make empty the default.
This fixes the current cAdvisor HEAD.
2014-09-09 16:57:45 -07:00
Nan Monnand Deng
f32457747d glog.Infof() 2014-09-05 17:42:58 -04:00
Nan Monnand Deng
60a1b6a900 supports backend storage in in-memory storage 2014-09-05 13:27:26 -04:00
Victor Marmol
3d10fc747c Make the duration of housekeeping flag configurable. 2014-08-30 19:57:53 -07:00
Vishnu Kannan
1fea109997 Fix bug in influxdb storage driver initialization. 2014-08-27 22:18:27 +00:00
Rohit Jnagal
505a8a9138 Merge remote-tracking branch 'upstream/master' into bigquery
storagedriver.go

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-20 23:29:05 +00:00
Rohit Jnagal
cfe839a0cd First version of bigquery backend.
Lot of TODOs. But it should be good enough for anyone who wants to try
it out. Marked experimental.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-20 23:04:05 +00:00
Vishnu Kannan
1a24eed18f Fix storage driver buffer duration default value.
The cache will now hold atlest the minimum number of stats required by the UI and more
if the buffer duration is longer than the default.

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-20 20:46:14 +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
Vishnu Kannan
674246938a Change cadvisor influxdb series name from cadvisorTable to stats since the default db name is alreadt cadvisor.
To the end user, cadvisor.stats.cpu or cadvisor.stats.memory is easier to remember than cadvisor.cadvisorTable.cpu

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-12 06:28:25 +00:00
Nan Deng
cd1422cfdb enable storage cache for influxdb 2014-08-08 11:26:14 -07: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 Deng
d5037d162e flags 2014-07-09 11:55:12 -07:00
Nan Deng
135ddd8f01 s/db/storage_driver/ 2014-07-08 18:15:36 -07:00
Nan Deng
d18ca6fddd storage constructor 2014-07-08 18:02:37 -07:00