Commit Graph

75 Commits

Author SHA1 Message Date
Rohit Jnagal
7b6b9e6b6d Always use alias as display name if its available.
This is useful for identifying k8 containers on /docker handler.
Since k8 handles are pretty long, I arbitrarily decided to truncate the display.
Let me know if you don't like it.
2015-02-28 01:39:42 +00:00
Rohit Jnagal
52d4be1f9e Disable cpu load tracking temporarily.
I'd like to understand its resource usage and improve accuracy
before we ship it in an official release.
2015-02-09 15:16:45 -08:00
Rohit Jnagal
a7603df953 Add cpu load graph to UI. 2015-01-28 07:04:41 +00:00
Rohit Jnagal
3977f996c8 Move network graphs above filesystem info for root.
This is also consistent with the other container pages.
2015-01-18 05:20:53 +00:00
Rohit Jnagal
ed155019ac Verify and fix error message nit :) 2015-01-14 01:15:13 +00:00
Rohit Jnagal
55fceed402 Add some more missing copyrights and script to verify copyright.
Add to travis next.
2015-01-09 19:31:25 +00:00
Victor Marmol
dbfcce44aa Limit to 5 FS gauges in a stable way.
The first 5 gauges on the list may not be the same as the first 5 gauges
being displayed.
2015-01-05 15:52:39 -08:00
Rohit Jnagal
acc7fab5ee Merge pull request #420 from vmarmol/gauge
Don't limit gauges width. Also make them smaller.
2015-01-05 14:13:01 -08:00
Victor Marmol
19f755c83f Don't limit gauges width. Also make them smaller. 2015-01-05 13:48:21 -08:00
Rohit Jnagal
363f08d591 Merge pull request #418 from rjnagal/docker
Fix typo in memory graph generation.
2015-01-05 13:00:27 -08:00
Rohit Jnagal
12289bdac5 Fix typo in memory graph generation. 2015-01-05 20:57:44 +00:00
Victor Marmol
643d647761 Gofmt all files. 2015-01-05 11:26:23 -08:00
Rohit Jnagal
607cf15f1d Limit number of FS gauges to 5. 2014-12-30 18:06:20 +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
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
bf641ddbf2 Better handling of empty filesystems. 2014-12-16 17:31:56 -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
5b7fb6bcc9 Dynamically create the filesystem usage.
Fixes #357.
2014-12-16 09:40:06 -08:00
Rohit Jnagal
afdd1d1e96 Match Filesystem listing with Filesystem Gauge name.
Both are now FS #n.
2014-12-15 19:20:29 +00:00
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
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
Dipankar Sarkar
754bfb06b8 Made the progress bars and text dynamic #263 2014-12-11 21:18:05 +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
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
Victor Marmol
ac0b27a4b8 Fix Docker ALL reference 2014-11-17 10:07:40 -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
Craig Wickesser
b4e1dbb4f9 Embed bootstrap, jquery and other external dependencies to allow cAdvisor to function without a connection to the Internet per issue #304. 2014-11-13 18:09:29 -05:00
Rohit Jnagal
a4e25f056b Merge pull request #307 from vmarmol/root
Add "Docker containers are here" link to the main page.
2014-11-13 11:23:27 -08:00
Victor Marmol
e7b5a587c6 Add 'Docker containers are here' link to the main page 2014-11-13 11:09:54 -08:00
Victor Marmol
f97e57df88 Simplify how the Docker containers are handled.
This is done by introducting the concept of "namespaces" of container
names. The aliases of a container are under this namespace. Namespace
names are of the form:

//<namespace>/<alias>

This allows us to (within cAdvisor) query all docker containers as
//docker regardless of whether this is a systemd or a non-systemd system.

This does break our ability to handle Docker aliases with the /container
endpoint. I think this is acceptable as our support there was not
consistent between system types.
2014-11-12 18:01:47 -08:00
Victor Marmol
6e89bdef9f Add /docker/ UI endpoint.
Fixes #294
2014-11-07 08:53:52 -08:00
Vishnu Kannan
5e8fecea6a Adding filesystem usage calculation for docker containers. This patch also includes some internal refactoring.
'machine' api now exports a list of all existing 'ext*' filesystems along with the capacity.
2014-10-06 09:51:32 +00:00
Vishnu Kannan
8fd73e7fc0 Adding filesystem stats to db storage drivers. Moved FsStats to info package. 2014-10-01 18:49:10 +00:00
Vishnu Kannan
c21ff1f166 Adding a disk usage progress bar. 2014-10-01 00:28:01 +00:00
Victor Marmol
e22831f1bd Flatten ContainerSpec. 2014-09-19 10:14:22 -07:00
Victor Marmol
9dd8621686 Remove remaining parts of samples and percentiles. 2014-09-15 14:38:51 -07:00
Victor Marmol
467b6f33db Cleanup graph JS and don't show values below 0. 2014-09-10 15:04:28 -07:00
Victor Marmol
0c6fb6cb87 Don't try to draw graphs we don't have data for.
This was specifically a problem with network. We were throwing JS
errors.
2014-09-04 18:52:07 -07:00
Victor Marmol
6ed452f328 Merge pull request #192 from caglar10ur/master
Make (memory) limits human readable
2014-09-04 08:41:13 -07:00
Victor Marmol
613b59f8ce Don't assume 1s between samples in the UI.
Fixes #155
2014-09-03 19:01:51 -07:00
S.Çağlar Onur
27cf0c9963 split size and unit
Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
2014-08-25 21:42:49 -04:00
Rohit Jnagal
b66eb73a78 Add hot memory usage to memory graph.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-26 00:11:05 +00:00
S.Çağlar Onur
632af98db8 Make (memory) limits human readable (16.00PB v.s 16000000000MB)
Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
2014-08-24 18:01:06 -04:00
Victor Marmol
eba693b3a0 Merge pull request #191 from rjnagal/master
Remove page fault stats from UI
2014-08-22 12:18:17 -05:00