Commit Graph

425 Commits

Author SHA1 Message Date
Rohit Jnagal
bb5d74c9ea Merge remote-tracking branch 'upstream/master'
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-26 00:37:13 +00:00
Victor Marmol
4161b2c910 Merge pull request #194 from vmarmol/fix-readme
Ignore the InfluxDB tests while they are flaky.
2014-08-25 21:28:41 -03:00
Rohit Jnagal
b66eb73a78 Add hot memory usage to memory graph.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-26 00:11:05 +00:00
Victor Marmol
401a44bbae Ignore the InfluxDB tests while they are flaky. 2014-08-25 17:00:37 -07:00
Victor Marmol
51d3a135a6 Merge pull request #193 from vmarmol/fix-readme
Fix capitalization
2014-08-25 16:36:22 -03:00
Victor Marmol
6cd8789c2a Fix cAdvisor capitalization 2014-08-25 12:22:40 -07:00
Victor Marmol
0c0af934c8 Merge pull request #189 from vishh/readme
Update Readme.md with instructions to run on RHEL 6 and CENTOS
2014-08-25 15:40:44 -03:00
Victor Marmol
eba693b3a0 Merge pull request #191 from rjnagal/master
Remove page fault stats from UI
2014-08-22 12:18:17 -05:00
Rohit Jnagal
8486755591 Merge branch 'master' of http://github.com/rjnagal/cadvisor
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-22 17:01:40 +00:00
Rohit Jnagal
ac72c056c3 Remove page faults from cadvisor UI.
Page fault data is useful for inference and performance detection, but
it doesn't make sense on the summary UI. We have limited space on the
main container page. Let's use it for main throughput signals. Removing
faults make network stats more prominent too.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-22 16:57:59 +00:00
Rohit Jnagal
76cb710e13 Remove page faults from cadvisor UI.
Page fault data is useful for inference and performance detection, but
it doesn't make sense on the summary UI. We have limited space on the
main container page. Let's use it for main throughput signals. Removing
faults make network stats more prominent too.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-22 16:53:37 +00:00
Vish Kannan
e6df1ebb2f Update Readme.md with instructions to run on RHEL 6 and CENTOS 2014-08-20 14:31:19 -07:00
Victor Marmol
9d158c3d66 Merge pull request #187 from vishh/influxdb_optimze
Fix storage driver buffer duration default value.
2014-08-20 17:23:18 -04: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
Victor Marmol
8e35f8f2e6 Merge pull request #185 from vishh/influxdb_optimze
Buffer stats in influxdb driver before writing to the Db.
2014-08-20 01:13:10 -04: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
Victor Marmol
a80c3b81a8 Merge pull request #186 from vishh/fix_godeps
Updating libcontainer dependency via 'godep update'.
2014-08-19 15:51:24 -04:00
Vishnu Kannan
02b64ed29f Updating libcontainer dependency via 'godep update'. This is required for cAdvisor to work inside docker.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-19 19:39:09 +00:00
Vish Kannan
310a621104 Merge pull request #180 from vmarmol/master
Ammending CHANGELOG for 2.2.
2014-08-14 14:09:56 -07:00
Victor Marmol
68f9c5a90b Ammending CHANGELOG for 2.2.
We also added v1.1 REST API.
2014-08-14 12:40:04 -07:00
Victor Marmol
7d1987f8b2 Merge pull request #135 from kelseyhightower/godep
manage dependencies with godep
2014-08-14 15:32:12 -04:00
Kelsey Hightower
e6d3895ea2 manage dependencies with godep
This commit adds all cadvisor dependencies as the result of running
the following commands:

    go get -u
    godep save

The .travis.yml file has been updated to use godep for building
binaries and running tests. The prepare.sh script has been updated
to use godep to build the cadvisor binary.
2014-08-14 11:30:50 -07:00
Rohit Jnagal
d4a4668799 Merge pull request #178 from vishh/readme
Updating the release notes to release cAdvisor 0.2.2.
2014-08-13 11:42:05 -07:00
Vishnu Kannan
a9f54a4ed7 Updating the release notes to release cAdvisor 0.2.2. 2014-08-13 18:38:09 +00:00
Vish Kannan
64e7ec0ed8 Merge pull request #177 from vmarmol/add-vet
Add go vet to travis.
2014-08-13 09:47:31 -07:00
Victor Marmol
0c13938d46 Add go vet to travis. 2014-08-13 09:35:37 -07:00
Victor Marmol
7e8f2037cb Merge pull request #176 from vishh/readme
Updating readme to use influxdb with the current head.
2014-08-13 11:42:18 -04:00
Vishnu Kannan
41b539d87e Updating readme to use influxdb with the current head. 2014-08-12 22:10:26 +00:00
Rohit Jnagal
78cb882ebd Merge pull request #173 from vmarmol/master
Allow cAdvisor to use as many cores as exist on the machine.
2014-08-12 11:36:57 -07:00
Victor Marmol
d8352df92c Merge pull request #174 from vishh/glog
Update Dockerfile to work with glog.
2014-08-12 13:37:03 -04:00
Victor Marmol
b27b586c39 Merge pull request #175 from vishh/influxdb
Change cadvisor influxdb series name from 'cadvisorTable' to 'stats'
2014-08-12 13:30:10 -04:00
Vishnu Kannan
58b76f1266 Remove obsolete Dockerfile.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-12 06:33:03 +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
Vishnu Kannan
6e66310385 Update Dockerfile to work with glog.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-12 06:24:55 +00:00
Victor Marmol
eeea467d66 Allow cAdvisor to use as many cores as exist on the machine.
We scale with the number of containers (and cores on the machine) so we
should be able to use more than just one core (the default).
2014-08-11 17:31:05 -07:00
Victor Marmol
1cac435b86 Merge pull request #172 from rjnagal/influxdb
Reduce influxdb schema to only the values we currently plan to use.
2014-08-11 13:27:57 -04:00
Victor Marmol
6339d85f7d Merge pull request #170 from rjnagal/master
Fix Cache driver to serve UI.
2014-08-11 12:06:11 -04:00
Rohit Jnagal
cb8f471155 Merge remote-tracking branch 'upstream/master'
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 23:05:18 +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
42c0943d7e Fix Cache driver to serve UI.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 19:18:53 +00:00
Vish Kannan
949a65de90 Merge pull request #169 from rjnagal/master
Improve influxdb backend - use container alias if available and store network stats.
2014-08-09 11:02:08 -07:00
Rohit Jnagal
67021958b7 Revert changes for smaller test size.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 15:27:42 +00:00
Rohit Jnagal
5df24e93bd Merge branch 'vishh-influxdb'
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 15:14:27 +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
Victor Marmol
494c63c4cc Merge pull request #168 from rjnagal/master
Factor out data comparator for storage tests.
2014-08-09 02:17:28 -04: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
Rohit Jnagal
16439c051b Merge pull request #166 from monnand/enable-storage-cache
enable storage cache for influxdb
2014-08-08 11:33:48 -07:00
Nan Deng
cd1422cfdb enable storage cache for influxdb 2014-08-08 11:26:14 -07:00
Victor Marmol
9541787622 Merge pull request #162 from vmarmol/master
Fix capitalization in log files.
2014-08-07 23:17:30 -07:00