Commit Graph

1207 Commits

Author SHA1 Message Date
Rohit Jnagal
e43ada2e00 Add 'bytes available' to fs info.
The current capacity and usage numbers are insufficient to figure out
actual bytes available for a non-root user for the fs. Available is the
value used by df and the one we need to track to detect low diskspace
condition.
2015-05-11 19:27:40 +00:00
Marcus Furlong
9e7ce0dbf6 update documentation for CentOS 7
1) cgroups were getting mounted at /cgroup: not /cgroup
2) incorrect flag was used:

provided but not defined: --privilege
See 'docker run --help'.
2015-05-08 11:12:12 +10:00
Victor Marmol
832c6e94c3 Merge pull request #698 from rjnagal/docker
Return partial topology information if cache info is not available.
2015-05-07 14:42:58 -07:00
Rohit Jnagal
265dbeb852 Return partial topology information if cache info is not available.
Everything other than cache information is available through /proc/cpuinfo.
2015-05-07 21:11:21 +00:00
Victor Marmol
bfdbae7cb7 Merge pull request #696 from rjnagal/docker
Improve approximation of container creation time.
2015-05-07 13:03:51 -07:00
Rohit Jnagal
4b4312b290 Improve approximation of container creation time.
Containers with subcontainers always report creation time to be same as the time
of creation of the latest subcontainer.

Still not an ideal solution, but accurate for most practical purposes.
2015-05-07 18:14:54 +00:00
Victor Marmol
c40d18f91e Merge pull request #695 from rjnagal/docker
Fix handling of time ranges in timed store.
2015-05-07 11:02:04 -07:00
Rohit Jnagal
06c9dcd3bb Fix handling of time ranges in timed store.
The current logic assumes that entries are added to the store in
monotonically increasing order for time. This is not true when
we add creation events for existing containers.
2015-05-07 16:44:22 +00:00
Rohit Jnagal
f720118b33 Merge pull request #694 from vmarmol/docs
Document that cAdvisor needs --privilege in RHEL/CentOS
2015-05-07 09:35:28 -07:00
Victor Marmol
41ba594f82 Document that cAdvisor needs --privilege in RHEL/CentOS
Fixes #379
2015-05-07 09:29:47 -07:00
Rohit Jnagal
6fec570484 Merge pull request #692 from vmarmol/e2e
Replace gcutil with gcloud usage
2015-05-07 09:10:26 -07:00
Victor Marmol
e6ba228815 Replace gcutil with gcloud usage 2015-05-07 08:12:12 -07:00
Rohit Jnagal
e3aa15a3bb Merge pull request #689 from vmarmol/log
Lower logging level of some common logs.
2015-05-06 16:22:02 -07:00
Victor Marmol
192a49caf4 Merge pull request #691 from rjnagal/docker
Make all link relative - part 2.
2015-05-06 16:17:53 -07:00
Rohit Jnagal
5bd6f601a4 Make all link relative - part 2.
Added missing docker page handling.
2015-05-06 22:40:45 +00:00
Vish Kannan
bc66d8d5dc Merge pull request #690 from google/revert-680-collector
Revert "Make all links relative."
2015-05-06 14:48:59 -07:00
Rohit Jnagal
6e78fb725f Revert "Make all links relative." 2015-05-06 14:46:45 -07:00
Victor Marmol
834d1cf34e Lower logging level of some common logs. 2015-05-06 10:24:50 -07:00
Victor Marmol
e44420e887 Merge pull request #687 from rjnagal/cpu
Add 'all_events' option to the api to report all event types.
2015-05-06 10:06:58 -07:00
Rohit Jnagal
e68b6cbb25 Add 'all_events' option to the api to report all event types. 2015-05-06 16:45:13 +00:00
Victor Marmol
833a60014e Merge pull request #683 from rjnagal/validate
Remove spec info from container creation event data.
2015-05-05 15:50:10 -07:00
Rohit Jnagal
3b13df3c6c Remove spec info from container creation event data. 2015-05-05 22:14:15 +00:00
Rohit Jnagal
ed19fa9c98 Merge pull request #682 from vmarmol/update-libcontainer
Update libcontainer godep
2015-05-05 14:49:54 -07:00
Rohit Jnagal
4c21290b07 Merge pull request #680 from vmarmol/collector
Make all links relative.
2015-05-05 14:37:23 -07:00
Victor Marmol
96c025a60a Update gocapability 2015-05-05 14:31:25 -07:00
Victor Marmol
fa782f19f9 Update libcontainer godep
Fixes #668
2015-05-05 14:01:17 -07:00
Victor Marmol
596c5ee692 Make all links relative.
This will allow cAdvisor to be reverse proxied.

Fixes #513
Fixes #566
Fixes #596
Fixes #667
2015-05-05 13:37:20 -07:00
Rohit Jnagal
6bcb4aa394 Merge pull request #678 from vmarmol/collector
Add Collector executor support
2015-05-05 10:09:52 -07:00
Victor Marmol
bce54ce3f5 Run custom collectors in container housekeeping.
This will allow us to register and run custom collectors for each
container.
2015-05-04 15:57:18 -07:00
Victor Marmol
5b39a77318 Add generic collector runtimes 2015-05-04 15:57:18 -07:00
Victor Marmol
97266fc69c Merge pull request #677 from rjnagal/validate
Publish creation event for pre-existing containers on start-up.
2015-05-04 12:54:31 -07:00
Rohit Jnagal
5fcad323ca Publish creation event for pre-existing containers on start-up. 2015-05-04 18:37:43 +00:00
Rohit Jnagal
61bbe50a68 Merge pull request #676 from vmarmol/release
Update inotify dependency.
2015-05-04 10:28:03 -07:00
Victor Marmol
1a1a1faa7e Update inotify dependency. 2015-05-04 10:15:21 -07:00
Rohit Jnagal
35e876232a Merge pull request #673 from vmarmol/release
cAdvisor 0.13.0
2015-05-01 14:04:46 -07:00
Victor Marmol
3e79b2ba51 cAdvisor 0.13.0 2015-05-01 13:59:39 -07:00
Rohit Jnagal
58c49b562e Merge pull request #672 from vmarmol/limit
Add flags for event storage limits
2015-05-01 12:09:46 -07:00
Victor Marmol
a7a7aacebc Add flags to customize the events StoragePolicy. 2015-05-01 12:04:11 -07:00
Victor Marmol
28dfea761c Add events StoragePolicy. 2015-05-01 10:42:17 -07:00
Rohit Jnagal
872ab737fb Merge pull request #671 from vmarmol/limit
Add an item limit to TimedStore
2015-05-01 09:23:51 -07:00
Rohit Jnagal
9c92d8ffb3 Merge pull request #669 from vmarmol/labels
Support for container labels
2015-05-01 09:20:42 -07:00
Victor Marmol
1c25746cf0 Limit events to 100,000 of each type.
This gives us a bit over one event per second for one day. Assuming 250
bytes per event, the max memory usage is ~24MiB per event type.
2015-05-01 00:03:41 -07:00
Victor Marmol
734df4d18c Place an absolute limit on elements in TimedStore. 2015-05-01 00:03:41 -07:00
Victor Marmol
1e09f9012d Adding container labels 2015-04-30 23:09:03 -07:00
Victor Marmol
077b324074 Updating DockerClient godep 2015-04-30 23:08:57 -07:00
Victor Marmol
95f1ee9c40 Merge pull request #670 from rjnagal/docker
Add --docker_only flag to enable tracking for only docker containers & root.
2015-04-30 17:27:50 -07:00
Rohit Jnagal
d0424eca0f Add --docker_only flag to enable tracking for only docker containers and root.
This reduces unnecessary load on the system and also cleans up the UI clutter.
Currently defaulted to false.
2015-04-30 23:34:44 +00:00
Rohit Jnagal
04a1aa900c Merge pull request #665 from vmarmol/limit
Limit the number of events stored to 24h.
2015-04-29 15:08:55 -07:00
Victor Marmol
62d670d386 Limit the number of events stored to 24h.
There is a TODO to make this configurable.
2015-04-25 18:04:52 -07:00
Rohit Jnagal
3166552cc4 Merge pull request #664 from vmarmol/ooms
Add /var/log/kern.log to kernel log files.
2015-04-23 19:16:46 -07:00