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
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
Rohit Jnagal
ac72c056c3
Remove page faults from cadvisor UI.
...
Page fault data is useful for inference and performance detection, but
it doesn't make sense on the summary UI. We have limited space on the
main container page. Let's use it for main throughput signals. Removing
faults make network stats more prominent too.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-22 16:57:59 +00:00
Vishnu Kannan
1a24eed18f
Fix storage driver buffer duration default value.
...
The cache will now hold atlest the minimum number of stats required by the UI and more
if the buffer duration is longer than the default.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-20 20:46:14 +00:00
Vishnu Kannan
3e390e0f33
Use glog instead of 'log' library.
...
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-07 18:38:58 +00:00
monnand
17b0ec576b
Merge pull request #132 from vmarmol/ui
...
Fix some UI todos.
2014-07-28 21:26:17 -04:00
Rohit Jnagal
9b5445e7f3
Fix cpu gauge to show percent of machine cpu capacity being used by the
...
container. For a container using one full core out on a 4-core machine,
the gauge will show up as 25%.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-28 22:16:49 +00:00
Victor Marmol
4bf5a1a0c4
Fix some UI todos.
2014-07-26 13:28:33 -07:00
Victor Marmol
1921c1dd74
Handle empty stats in the UI.
2014-07-25 08:48:10 -07:00
Victor Marmol
02b06eab65
Merge pull request #124 from rjnagal/cpumask
...
Fix cpu limit to report cpu shares.
2014-07-24 16:55:34 -07:00
Rohit Jnagal
befc11b899
Fix cpu limit to report cpu shares.
...
It is currently treating shares as millicores.
Changed 'CPU Limit 1.024 cores' to 'CPU shares 1024 shares'.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 23:31:53 +00:00
Victor Marmol
8000237ff7
Request 60s of container history and no samples in the UI.
2014-07-24 11:12:28 -07:00
Rohit Jnagal
1fa48e8c39
Fix handling of cpumask for docker driver. Raw driver still reports all
...
cpus. Will fix it to read cpumask for cgroup seperately.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 01:50:32 +00:00
Vishnu Kannan
41d9275b51
Fixed network stats handling. The UI now reports network errors.
2014-07-23 22:24:43 +00:00
Vishnu Kannan
106787f850
Adding network bytes tx, rx and errors to the frontend. Network errors chart is not exposed in the UI yet.
2014-07-23 19:15:28 +00:00
Nan Deng
c7f69c2382
move function into test
2014-07-10 10:41:20 -07:00
Nan Deng
4d0b365d43
let users decide how many stats/samples they want to retrieve
2014-07-07 22:04:30 -07:00
Nan Monnand Deng
421fd762a5
fix bug introduced by pr #69
2014-06-29 20:22:13 -07:00
monnand
9d8d40c239
Merge pull request #47 from vmarmol/fix-names
...
Using the container's aliases in the UI.
2014-06-17 16:37:50 -04:00
Victor Marmol
7262ea66c7
Using the container's aliases in the UI.
...
Fixes #28 .
2014-06-13 18:57:39 -07:00
Victor Marmol
406a15c954
Saturate resource limit to machine limit
2014-06-13 14:56:41 -07:00
Victor Marmol
48c81727dd
Remove unused function
2014-06-13 14:27:52 -07:00
zohaib1020
341f64a448
Add legends right under the line graphs.
2014-06-13 11:12:16 -07:00
Nan Deng
84ec5a7e91
rename var
2014-06-12 17:35:20 -07:00
Nan Deng
312bcae2db
gofmt -r "ContainerRef->ContainerReference" -w -l .
2014-06-12 17:32:46 -07:00
Nan Deng
163179a84e
changed pages and manager.
2014-06-12 17:31:26 -07:00
Victor Marmol
712f9fb32f
Migrating cAdvisor code from lmctfy
2014-06-09 12:12:07 -07:00