Commit Graph

1399 Commits

Author SHA1 Message Date
Victor Marmol
675c09e296 Remove stats from cache when container is destroyed 2015-06-10 07:53:46 -07:00
Rohit Jnagal
b0753a6d69 Merge pull request #765 from vmarmol/content-type
Set Content-Type on static files.
2015-06-09 19:41:28 -07:00
Victor Marmol
04293b1595 Set Content-Type on static files.
Fixes #763
2015-06-09 18:34:04 -07:00
Victor Marmol
c2f60493a6 Merge pull request #762 from rjnagal/docker
Make graceful degradation of OOM events clearer.
2015-06-09 10:13:17 -07:00
Rohit Jnagal
a4499777c4 Make graceful degradation of OOM events clearer. 2015-06-09 16:45:14 +00:00
Rohit Jnagal
b1be2a0bd5 Merge pull request #759 from vmarmol/release
cAdvisor 0.15.0
2015-06-08 23:26:13 -07:00
Victor Marmol
45f99f13fd Merge pull request #758 from AnanyaKumar/better-build-doc
Update build.md
2015-06-08 17:59:25 -07:00
Victor Marmol
f09c188792 cAdvisor 0.15.0 2015-06-08 17:55:06 -07:00
Ananya Kumar
aed91d142e Update build.md
Make it clear how to run cadvisor after building
2015-06-08 16:35:28 -07:00
Rohit Jnagal
e22a6a573d Merge pull request #757 from vmarmol/multi-interface
Refresh network stats on interface change
2015-06-08 11:06:46 -07:00
Victor Marmol
b353f0bde2 Refresh network stats on interface change 2015-06-08 10:53:10 -07:00
Rohit Jnagal
b326f87929 Merge pull request #756 from vmarmol/multi-interface
Show multiple network interfaces in UI
2015-06-08 10:29:17 -07:00
Victor Marmol
2906722b4f Allow selection of displayed network interface
Fixes #686
2015-06-08 09:58:47 -07:00
Victor Marmol
72df0cb098 Send data for all interfaces for raw containers 2015-06-08 09:58:47 -07:00
Rohit Jnagal
a126e4c36f Merge pull request #751 from vmarmol/multiple-eths
Expose multiple network interfaces in API.
2015-06-07 22:45:47 -07:00
Rohit Jnagal
2d69f8e35c Merge pull request #755 from vmarmol/docs
Mention Fedora
2015-06-07 22:44:55 -07:00
Victor Marmol
b923eff11c Expose multiple network interfaces in API.
Part of #686
2015-06-07 17:01:53 -07:00
Victor Marmol
be4a581f23 Mention Fedora 2015-06-07 16:53:11 -07:00
Rohit Jnagal
48f14dcde6 Merge pull request #753 from vmarmol/docs
Minor organization update in running doc
2015-06-06 22:04:19 -07:00
Victor Marmol
6ce39db7f1 Minor organization update in running doc 2015-06-05 08:41:42 -07:00
Victor Marmol
8f51656eb8 Merge pull request #750 from rjnagal/summary
Make process listing work when cadvisor is running in docker.
2015-06-04 12:00:19 -07:00
Rohit Jnagal
eb8f941ba6 Make process listing work when cadvisor is running in docker.
Use /rootfs/proc to build the process listing.
2015-06-04 18:49:43 +00:00
Victor Marmol
fc035285ce Merge pull request #747 from rjnagal/summary
Add support for xfs.
2015-06-03 11:18:38 -07:00
Rohit Jnagal
387f7b3a7f Add support for xfs. 2015-06-03 18:13:45 +00:00
Rohit Jnagal
ccd6fa6a0d Merge pull request #746 from vmarmol/ubuntu
Detect systemd with cgroup hierarchy.
2015-06-02 16:00:48 -07:00
Victor Marmol
53bcd977b5 Detect systemd with cgroup hierarchy.
The previous approach was brittle from within a container and was inconsistend.

Fixes #666
2015-06-02 13:11:46 -07:00
Victor Marmol
c3f15e3b6a Merge pull request #745 from rjnagal/summary
Separate in-memory cache from storage drivers.
2015-06-02 09:24:09 -07:00
Rohit Jnagal
1a2781819e Separate in-memory cache from storage drivers. 2015-06-02 16:06:01 +00:00
Victor Marmol
893a5c15f5 Merge pull request #744 from rjnagal/summary
Remove RecentStats() from all storage drivers except memory.
2015-06-01 10:01:40 -07:00
Rohit Jnagal
80fabb3e60 Remove RecentStats() from all storage drivers except memory.
We should probably make memory as a cache type rather than storage.
RecentStats() can then be removed from the storage interface.
Will try it out as a separate PR.
2015-06-01 16:52:11 +00:00
Victor Marmol
909749d357 Merge pull request #741 from rjnagal/summary
Add filesystem, diskio, and network to spec.
2015-05-28 16:36:00 -07:00
Rohit Jnagal
e21cab8d43 Add filesystem, diskio, and network to spec. 2015-05-28 18:25:14 +00:00
Victor Marmol
3b86581556 Merge pull request #739 from rjnagal/docker
Initial client library for statsd backend.
2015-05-28 09:28:40 -07:00
Rohit Jnagal
a6b21f65a2 Merge pull request #731 from bpradipt/ppc64_uuid
Handle system UUID retrieval for Power(ppc64) Systems
2015-05-27 22:26:08 -07:00
Rohit Jnagal
0553f6cd16 Merge pull request #730 from bpradipt/ppc64_cpuinfo
Add support for parsing CPU speed from /proc/cpuinfo on Power (ppc64) systems
2015-05-27 22:24:23 -07:00
Rohit Jnagal
b7ee40566c Initial client library for statsd backend.
Restricted to supporting just gauges now as counters or timing are not very useful for cAdvisor.
2015-05-27 17:48:09 +00:00
Victor Marmol
f98cf886a4 Merge pull request #737 from rjnagal/docker
Add link to docker-compose config to bring up cadvisor-influxdb-grafana stack
2015-05-26 09:15:38 -07:00
Rohit Jnagal
adbff14704 Add link to docker-compose config for bringing up cadvisor-influxdb-grafana together. 2015-05-26 05:44:12 +00:00
Rohit Jnagal
cc2ba84ea0 Merge pull request #736 from vmarmol/name
Change Cgroup to Container in ps output.
2015-05-22 11:46:27 -06:00
Victor Marmol
913d8565f6 Change Cgroup to Container in ps output. 2015-05-22 10:41:47 -07:00
Pradipta Kr. Banerjee
d88ed0ab97 Handle system UUID retrieval for Power(ppc64) Systems
This patch adds requisite support to retrieve system uuid details for Power
systems. Power systems do not have DMI data. However most of the relevant details
are either in /proc or /sys. For baremetal servers, the UID is available in
/proc/device-tree/system-id. For guests the UUID is available in
/proc/device-tree/vm,uuid inside the guest. Guest's /proc filesystem do not have
/proc/device-tree/system-id

Example
On baremetal system
$cat /proc/device-tree/system-id
2122AAA

On a guest VM
$cat /proc/device-tree/vm,uuid
4b1a1a7e-079e-479c-8072-d8108f31050c

Signed-off-by: Pradipta Kr. Banerjee <bpradip@in.ibm.com>
2015-05-22 10:40:03 +05:30
Pradipta Kumar
e6de0dd8aa Add support for parsing CPU speed from /proc/cpuinfo on Power (ppc64) systems.
/proc/cpuinfo format varies between architectures. For example

On Intel the cpu speed is shown like the following
cpu MHz		: 3000

whereas on Power systems its shown like the following
clock		: 3000MHz

This patch enables support for /proc/cpuinfo parsing on Power systems

Signed-off-by: Pradipta Kr. Banerjee <bpradip@in.ibm.com>
2015-05-22 10:31:37 +05:30
Rohit Jnagal
a96f2f9325 Merge pull request #734 from vmarmol/validate2
Add managed containers to debug output
2015-05-21 16:54:43 -06:00
Victor Marmol
080f8a9592 Add managed containers to debug output 2015-05-21 15:18:49 -07:00
Rohit Jnagal
37295b7979 Merge pull request #733 from vmarmol/validate
Add debug info to /validate
2015-05-21 16:18:30 -06:00
Victor Marmol
0525d40a4a Add DebugInfo() API and put the information on /validate 2015-05-21 14:46:35 -07:00
Victor Marmol
1f248ee956 Add inotify watches as debug information 2015-05-21 14:40:49 -07:00
Victor Marmol
392e1be9e5 Use one InotifyWatcher 2015-05-21 14:40:49 -07:00
Victor Marmol
6f568b9c8e Merge pull request #732 from rjnagal/docker
Add backup text to process table if no processes detected.
2015-05-21 14:52:32 -06:00
Rohit Jnagal
49bc7e4dce Add backup text to process table if no processes detected. 2015-05-21 20:43:47 +00:00