Commit Graph

759 Commits

Author SHA1 Message Date
Vish Kannan
a3ca75ac11 Merge pull request #393 from rjnagal/cpu
Relax regex for kernel version string format in validator.
2014-12-22 23:11:25 -08:00
Rohit Jnagal
35740c141d Relax the kernel version string format.
It now parses versions like major.minor-* as used by some VMs.
2014-12-23 06:22:08 +00:00
Vish Kannan
704db2b506 Merge pull request #391 from rjnagal/cpu
Log one error message per hour for failing containers.
2014-12-22 17:03:49 -08:00
Rohit Jnagal
b0462e3e94 Log one error message per hour for failing containers. 2014-12-23 00:49:48 +00:00
Vish Kannan
d3b24a3ae7 Merge pull request #388 from rjnagal/validate
Fix cgroup root path detection.
2014-12-22 14:55:59 -08:00
Rohit Jnagal
c8eecef6d5 Fix cgroup root path detection.
The current logic assumes that cpu cgroup mnt point is <basepath>/cpu.
On some systems, its <basepath>/cpu,cpuacct (CentOS 7).
2014-12-22 22:50:53 +00:00
Vish Kannan
7f08c8f9c9 Merge pull request #387 from rjnagal/validate
Add cgroup mount directory names to validate output.
2014-12-22 14:05:07 -08:00
Rohit Jnagal
21e1d8f917 Add cgroup mount directory names to validate output. 2014-12-22 22:02:13 +00:00
Vish Kannan
aadbe8d986 Merge pull request #384 from rjnagal/cpu
Add cache info to machine topology
2014-12-22 11:57:07 -08:00
Rohit Jnagal
5994c17b1e Add cache info to machine topology 2014-12-22 17:54:36 +00:00
Rohit Jnagal
e0925c4a0d Merge pull request #383 from rjnagal/cpu
Add per-node memory information to machine endpoint.
2014-12-20 17:40:48 -08:00
Rohit Jnagal
8fa6389c64 Add per-node memory information to machine endpoint. 2014-12-21 01:37:13 +00:00
Vish Kannan
0bf7da5751 Merge pull request #382 from rjnagal/cpu
Add cpu topology information to machine endpoint.
2014-12-19 18:04:21 -08:00
Rohit Jnagal
22cee3a89c Add cpu topology information to machine endpoint. 2014-12-20 00:53:48 +00:00
Vish Kannan
4cbdbc2e17 Merge pull request #381 from vmarmol/ui
Simplify handling of progress bars and humanized values.
2014-12-18 21:30:08 -08:00
Vish Kannan
7c5e69f538 Merge pull request #380 from vmarmol/release
Check filesystem before accessing it in UI.
2014-12-18 21:22:58 -08:00
Victor Marmol
3cebc955b1 Simplify handling of progress bars and humanized values.
Fixes #378.
2014-12-18 16:52:22 -08:00
Victor Marmol
6ad13d126b Check filesystem before accessing it in UI.
Fixes #377.
2014-12-18 16:09:50 -08:00
Victor Marmol
37db214c71 Merge pull request #375 from rjnagal/cpu
Add cpu frequency to machine info.
2014-12-18 10:08:53 -08:00
Rohit Jnagal
c37f3865d9 Add cpu frequency to machine info. 2014-12-18 18:05:09 +00:00
Rohit Jnagal
6455f81bb8 Merge pull request #372 from vmarmol/integration3
Refactoring Docker integration test.
2014-12-17 22:11:49 -08:00
Vish Kannan
ba990c55fb Merge pull request #373 from vmarmol/release
cAdvisor 0.7.0.
2014-12-17 17:27:45 -08:00
Victor Marmol
283c4cb86c cAdvisor 0.7.0. 2014-12-17 16:53:48 -08:00
Victor Marmol
024c3770a3 Refactoring Docker integration test.
Uses assert and require. Moves common components to a common file for
reuse.
2014-12-17 15:52:55 -08:00
Victor Marmol
0162b1f59d Add testify/require to godeps 2014-12-17 15:52:55 -08:00
Vish Kannan
e72a3bb37a Merge pull request #370 from vmarmol/old-libcontainer
Handle old versions of the libcontainer config.
2014-12-17 07:35:22 -08:00
Victor Marmol
7ca63db2c5 Handle old versions of the libcontainer config.
Libcontainer recently changed its config by changing the type of a
field. This commit tries parsing the config as the new and old types.
2014-12-16 17:52:44 -08:00
Victor Marmol
a71db67e77 Merge pull request #369 from vmarmol/fix
Better handling of empty filesystems.
2014-12-17 09:40:53 +08:00
Victor Marmol
0a9f963e8e Merge pull request #367 from kateknister/master
Caches container data for 5 seconds before updating it
2014-12-17 09:40:08 +08:00
Katie Knister
cd8a7923ae Caches container info for 5 seconds before updating it 2014-12-16 17:32:01 -08:00
Victor Marmol
bf641ddbf2 Better handling of empty filesystems. 2014-12-16 17:31:56 -08:00
Victor Marmol
cc0e999bed Merge pull request #368 from rjnagal/diskinfo
Add a disk map to machine info.
2014-12-17 08:21:07 +08:00
Rohit Jnagal
e5200948f5 Add a disk map to machine info.
This is read once at start of cAdvisor. We can use this to report
machine state as well as return logical name for block devices in UI.

Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-12-17 00:15:50 +00:00
Rohit Jnagal
5ad9cb5bb5 Merge pull request #366 from vmarmol/client
Check HTTP error code in the cAdvisor client.
2014-12-16 11:40:16 -08:00
Rohit Jnagal
d4a39887aa Merge pull request #365 from vmarmol/ui
Dynamically update FS gauges in a stable way.
2014-12-16 11:38:07 -08:00
Victor Marmol
65b39c1ba9 Check HTTP error code in the cAdvisor client.
This will provide more meaningfull errors than the cryptic unmarshalling
ones we've gotten today.

Fixes #362.
2014-12-16 11:28:42 -08:00
Victor Marmol
c5315a6800 Dynamically update FS gauges in a stable way.
Fixes #361.
2014-12-16 10:58:22 -08:00
Victor Marmol
43c1712be6 Merge pull request #364 from denderello/configurable-tablenames
[WIP] Make storage table names configurable
2014-12-17 01:58:29 +08:00
Vish Kannan
d3f5aa5443 Merge pull request #363 from vmarmol/ui
Dynamically create the filesystem usage.
2014-12-16 09:51:22 -08:00
Victor Marmol
33629f849e Merge pull request #359 from denderello/fix-influx-docs-typo
Fix typo in InfluxDB docs
2014-12-17 01:42:46 +08:00
Victor Marmol
5b7fb6bcc9 Dynamically create the filesystem usage.
Fixes #357.
2014-12-16 09:40:06 -08:00
Dennis Benkert
47b27143d7 made storage table names configurable 2014-12-16 18:33:42 +01:00
Dennis Benkert
27d731be71 fixed typo in influx docs 2014-12-16 18:03:09 +01:00
Rohit Jnagal
8eec529106 Merge pull request #358 from vmarmol/update-libcontainer
Update libcontainer dependency
2014-12-15 17:01:44 -08:00
Victor Marmol
91c974e913 Generate CgroupPaths when not available.
This happens always for non-Docker containers and sometimes with older Docker
containers.
2014-12-15 16:57:30 -08:00
Victor Marmol
702dda1995 Merge pull request #350 from kateknister/master
Changed memory storage to a circular buffer
2014-12-16 07:56:39 +08:00
Katie Knister
86fc57b5ef Final changes to circular buffer 2014-12-15 15:50:34 -08:00
Victor Marmol
084e809507 Merge pull request #356 from rjnagal/rename
Add systemd information to validate output.
2014-12-16 07:35:30 +08:00
Rohit Jnagal
4ec9894ea2 Add systemd information to validate output. 2014-12-15 23:26:30 +00:00
Victor Marmol
0123fe1d07 Merge pull request #355 from rjnagal/syst
Fix Docker handler for machines that use systemd just as a naming service
2014-12-16 07:07:42 +08:00