Commit Graph

699 Commits

Author SHA1 Message Date
Victor Marmol
cb0387b41e Try to detect systemd by checking for its named cgroup hierarchy.
Fixes #342
2014-12-11 17:30:33 -08:00
Victor Marmol
3dc78668d9 Merge pull request #348 from incredlabs/httpdocs
Update web UI docs to reflect authentication feature
2014-12-12 03:17:17 +08:00
Dipankar Sarkar
e5bb74d818 Updating docs for the Web UI authentication feature 2014-12-12 00:40:48 +05:30
Victor Marmol
22a0584c41 Merge pull request #345 from incredlabs/httpauth
Added HTTP Auth and HTTP Digest authentication #302
2014-12-12 02:34:11 +08:00
Dipankar Sarkar
d7b01e8994 Added log info for auth and digest file 2014-12-11 23:48:11 +05:30
Victor Marmol
875e4ebd6b Merge pull request #346 from incredlabs/updatebars
Made the progress bars and text dynamic #263
2014-12-12 02:14:30 +08:00
Dipankar Sarkar
8d3ea25764 Ran gofmt and made the various changes suggested 2014-12-11 23:18:03 +05:30
Dipankar Sarkar
c8bf81c4fd Updated the humanize function 2014-12-11 23:05:52 +05:30
Victor Marmol
5dc312d875 Merge pull request #344 from incredlabs/fsgauge
Added a Filesystem gauge, enhancement #339
2014-12-12 00:44:46 +08:00
Dipankar Sarkar
754bfb06b8 Made the progress bars and text dynamic #263 2014-12-11 21:18:05 +05:30
Dipankar Sarkar
c03984cda2 Added name to the AUTHORS file 2014-12-11 17:50:28 +05:30
Dipankar Sarkar
f9b1546367 Cleanup and minor fix for digest 2014-12-11 17:48:08 +05:30
Dipankar Sarkar
6798f193fd Added HTTP Auth and HTTP Digest authentication #302 2014-12-11 17:25:43 +05:30
Dipankar Sarkar
51975cad7b Added a Filesystem gauge 2014-12-11 13:10:45 +05:30
Vish Kannan
5064ad463f Merge pull request #341 from vmarmol/err
Report error while fetching network stats.
2014-12-10 13:38:15 -08:00
Victor Marmol
ff9a4995a1 Report error while fetching network stats. 2014-12-10 13:26:42 -08:00
Rohit Jnagal
65c872bd8e Merge pull request #338 from vmarmol/docs
Updating link to runtime options.
2014-12-05 11:43:04 -08:00
Victor Marmol
10846725f5 Updating link to runtime options. 2014-12-05 08:27:21 -08:00
Rohit Jnagal
5ad81b9993 Merge pull request #334 from vmarmol/docs
Adding runtime options docs.
2014-12-04 10:17:20 -08:00
Rohit Jnagal
0acabf64c2 Merge pull request #335 from vmarmol/rem
Remove unused samples flag.
2014-12-04 10:07:55 -08:00
Victor Marmol
d4500e7d6d Remove unused samples flag. 2014-12-04 09:36:46 -08:00
Victor Marmol
18e9394dbc Adding runtime options docs.
Also some cleanups of other docs.
2014-12-04 09:16:30 -08:00
Rohit Jnagal
b2d09d51a0 Merge pull request #325 from vmarmol/release
Ignore update errors for dead containers.
2014-12-02 10:32:36 -08:00
Victor Marmol
d74485ce77 Merge pull request #330 from mindscratch/add-version-flag
Added a version flag to print the version of cAdvisor per #329.
2014-11-26 19:23:11 +08:00
Craig Wickesser
195ad227c4 Updated description of version flag
Updated description of version flag per a [comment](https://github.com/google/cadvisor/pull/330#discussion-diff-20919796).
2014-11-26 05:10:57 -05:00
Craig Wickesser
d5e9528604 Added a version flag to print the version of cAdvisor per #329. 2014-11-25 21:56:26 -05:00
Victor Marmol
a2fcb61e14 Merge pull request #328 from Emsu/master
Added missing space to README.md
2014-11-26 01:27:21 +08:00
Michael Su
e88d73663d Added missing space to README.md 2014-11-24 17:15:42 -08:00
Rohit Jnagal
b7e535d611 Merge pull request #327 from vmarmol/deps
Update testify dependency.
2014-11-24 10:33:13 -08:00
Victor Marmol
32b009025d Update testify dependency. 2014-11-22 07:44:24 +08:00
Victor Marmol
e3ab15417c Ignore update errors for dead containers.
This adds an Exists() interface to detect when the container is dead.
Before reporting an update error we check is Exists() is true.

Some documentation was added as well.
2014-11-22 05:31:11 +08:00
Vish Kannan
c005bc1722 Merge pull request #326 from vmarmol/integration
Register inotify watches on all cgroup hierarchies.
2014-11-21 09:11:10 -08:00
Victor Marmol
fa00344601 Register inotify watches on all cgroup hierarchies.
We used to only register them on the first hierarchy that was created (I
think this was unintentional). This caused some weird edgecases where
we'd try to delete a watch event we didn't create. It is an error we
ignore today (since we fix it in < 60s) but delays our destruction of
the container.
2014-11-21 20:05:50 +08:00
Vish Kannan
89088df70e Merge pull request #324 from vmarmol/release
cAdvisor 0.6.2
2014-11-20 18:27:30 -08:00
Victor Marmol
d9813b532b cAdvisor 0.6.2 2014-11-21 09:44:02 +08:00
Rohit Jnagal
fe245a74ba Merge pull request #322 from vmarmol/cleanup
Misc cleanups
2014-11-20 10:10:23 -08:00
Victor Marmol
f185c607bc Removing contributors file since it is always out of date and GitHub has a better record anyways. 2014-11-20 15:22:47 +08:00
Victor Marmol
4b9861246f Remove unused code. 2014-11-20 15:22:47 +08:00
Rohit Jnagal
6885e0c8f2 Merge pull request #320 from vmarmol/docker-raw
Let the raw driver handle the /docker container.
2014-11-19 22:40:06 -08:00
Rohit Jnagal
02d49a432a Merge pull request #317 from vmarmol/integration
Adding integration test framework along with 3 tests.
2014-11-19 22:38:36 -08:00
Vish Kannan
48b0f736ec Merge pull request #321 from vmarmol/docs
Add a case in the docs for the / bindmount error.
2014-11-19 15:42:56 -08:00
Vish Kannan
5884edd71b Merge pull request #319 from vmarmol/omitempty-stats
Memory stats should not be omited if empty.
2014-11-19 15:11:57 -08:00
Vish Kannan
136969a7c1 Merge pull request #318 from vmarmol/fix-cpuset
Fix raw driver's setting of CPU mask.
2014-11-19 15:01:11 -08:00
Victor Marmol
0209d96826 Add a case in the docs for the / bindmount error.
Fixes #303
2014-11-20 06:57:52 +08:00
Victor Marmol
e44dca68b3 Memory stats should not be omited if empty.
They may be zero. Also removed Limit from MemoryStats, that belongs in
MemorySpec and is there today. All info requests return the spec.
2014-11-20 06:45:30 +08:00
Victor Marmol
0e603d2709 Let the raw driver handle the /docker container.
This will give us stats on this container and since the /docker UI
endpoint, it no longer serves the purpose it once did.
2014-11-20 06:44:35 +08:00
Victor Marmol
fc622a4b56 Fix raw driver's setting of CPU mask.
We used to include it with the trailing "\n" which gave us parsing
errors in the UI (and the reason why they didn't show up in any of those
containers).
2014-11-20 06:32:54 +08:00
Victor Marmol
f6a90d7bac Adding integration test framework along with 3 tests.
These tests are similar to Go unit tests except that they're targetting
tesing of a running cAdvisor client. They do this by interacting with
the testing framework that is able to talk to the running cAdvisor. This
cAdvisor could be local or remote.
2014-11-19 13:02:24 -08:00
Victor Marmol
83d3810eba Merge pull request #316 from vmarmol/fixes
Refactoring and fixes of /docker API endpoint.
2014-11-19 13:01:17 -08:00
Victor Marmol
181e12dda2 Refactoring and fixes of /docker API endpoint.
This canges the output of the Docker endpoint to be a map so that it is
more consistent from single to multiple returns. It also refactors
internally how we handle both types of requests.

Without this PR the /docker API endpoint is broken completely so this
change in format has no effect anyways.

These changes are tested by the upcoming integration tests.
2014-11-19 03:36:18 -08:00