Commit Graph

686 Commits

Author SHA1 Message Date
Dipankar Sarkar
6798f193fd Added HTTP Auth and HTTP Digest authentication #302 2014-12-11 17:25:43 +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
Rohit Jnagal
22c54d7f22 Merge pull request #315 from vishh/fix_influx
Release 0.6.1 to patch influxdb driver issue.
2014-11-18 16:25:06 -08:00
Vishnu Kannan
da5b235dd7 Release 0.6.1 to patch influxdb driver issue. 2014-11-19 00:17:17 +00:00
Vish Kannan
ec5a39d30d Merge pull request #314 from vishh/fix_influx
Fix issue in influxdb driver
2014-11-18 11:24:27 -08: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
1e98602907 Merge pull request #310 from vmarmol/release
cAdvisor 0.6.0
2014-11-17 11:24:47 -08:00
Rohit Jnagal
761b98421c Merge pull request #312 from vmarmol/unique
Do not duplicate Docker container output.
2014-11-17 11:12:44 -08:00
Victor Marmol
f61d2379ee cAdvisor 0.6.0 2014-11-17 11:08:38 -08:00
Victor Marmol
742bb8c724 Do not duplicate Docker container output.
Since Docker containers are known by more than one name we were
returning them once for every name they're known by. This change makes
the returned containers unique.
2014-11-17 10:40:28 -08:00
Victor Marmol
c7886629f8 Merge pull request #311 from vmarmol/fix
Fix Docker ALL reference
2014-11-17 10:28:28 -08:00
Victor Marmol
ac0b27a4b8 Fix Docker ALL reference 2014-11-17 10:07:40 -08:00
Victor Marmol
a1e72b2017 Merge pull request #308 from mindscratch/embed-external-js-css
Embed bootstrap, jquery and other external dependencies
2014-11-14 13:31:45 -08:00
Craig Wickesser
89b039ae9e Include version numbers in resource URLs. 2014-11-14 16:15:36 -05:00
Craig Wickesser
7f718a30d7 fixed formatting 2014-11-13 20:16:12 -05:00