Commit Graph

89 Commits

Author SHA1 Message Date
Rohit Jnagal
d8fb3c802f Add cgroup info and links to the process list on root page. 2015-05-20 03:19:56 +00:00
Rohit Jnagal
f54e10b7e8 Add docker status and images info to /docker page. 2015-05-19 17:02:45 +00:00
Rohit Jnagal
1ca29f8f20 Improve process table output.
Use pretty prints, but maintain sorting capabilities.
2015-05-19 16:33:56 +00:00
Rohit Jnagal
3bcae7f430 Add memory-percent to ps output. 2015-05-12 22:44:48 +00:00
Rohit Jnagal
2a99748874 Add process information to the UI.
For root, we report all processes. Process stats are refreshed every minute.
2015-05-12 19:08:12 +00:00
Rohit Jnagal
5bd6f601a4 Make all link relative - part 2.
Added missing docker page handling.
2015-05-06 22:40:45 +00:00
Rohit Jnagal
6e78fb725f Revert "Make all links relative." 2015-05-06 14:46:45 -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
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
Victor Marmol
11462d80bc Lowering log levels.
Reduce common logging using Kubernetes logging standards.
2015-04-13 15:05:41 -07:00
Mikael Kjaer
d85b6e24d8 Update containers_html.go
Changed logo to a link to the front page
2015-03-12 14:18:33 +04:00
Victor Marmol
d357c34f22 Refactor and centralize HTTP registration. 2015-03-10 18:00:10 -07:00
Victor Marmol
563ead3cce Use mux to register HTTP handlers.
This will allow us to register handlers on the non-default HTTP handler.
2015-03-10 15:37:16 -07:00
Rohit Jnagal
872546ba3a Bulk move current info api to info/v1. Making room for info/v2. 2015-03-04 00:47:28 +00:00
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