Commit Graph

123 Commits

Author SHA1 Message Date
David Ashpole
5a2e3d06d6
Merge pull request #1845 from dashpole/fix_ui
Fix small UI issues
2018-01-02 15:20:15 -08:00
Davanum Srinivas
5f8eea99dd Skip getVfsStats when file does not exist
There are a lot of spurious exceptions in the kubernetes kubelet logs
like:
E1018 21:03:09.616581   22780 fs.go:332] Stat fs failed. Error: no such
file or directory

Since we know that calling syscall.Statfs will just fail when the path
does not exist, we should just skip making the call.

NOTE: fixing 2017->2018 problems in build by running `./build/jenkins_e2e.sh`
2018-01-02 17:52:38 -05:00
David Ashpole
e917087ad5 fix small logo and slash in container 2017-12-19 13:28:26 -08:00
David Ashpole
ee8cbf1054 update jquery and bootstrap 2017-11-17 13:17:51 -08:00
Tim Allclair
3b3a855ba4
Cleanup cAdvisor error responses with proper headers & response codes 2017-08-10 12:32:25 -07:00
David Ashpole
1aa83b64c1 fix assets 2017-08-01 08:18:16 -07:00
Manjunath A Kumatagi
8fb1158353 Add Docker API version 2017-04-04 10:56:11 +05:30
David Ashpole
090529ecee fixed boilerplate verification 2017-01-04 13:18:45 -08:00
Tim St. Clair
4e993cf5ef
Rebuild UI assets 2016-09-19 14:56:44 -07:00
Vlad Holubiev
82e9b1aa37 Styling: break long words in container name title 2016-09-06 14:06:53 +03:00
Ainsley Chong
cbcf95b0bc Added per-subcontainer charts to the UI. 2016-05-10 14:23:32 -07:00
Tim St. Clair
4bebcc0e1f Merge pull request #1245 from ainsleyc/separate-templates
Moved html template into assets directory
2016-05-02 16:33:36 -07:00
Tim St. Clair
f365c6a115 Move docker types to v1 API 2016-05-02 15:52:29 -07:00
Tim St. Clair
0c89fd1b71 Refactor docker-specific functions from manager to docker 2016-05-02 12:24:31 -07:00
Ainsley Chong
b7faf83410 Moved html template into assets directory
Reformated to .html file, and added build commands to assets.sh
2016-04-28 13:54:15 -07:00
Ainsley Chong
700c3d1d4d Separated asset files into their own folder with the correct file
formats, and added a script to build them into required .go file using
go-bindata.
2016-04-21 15:16:08 -07:00
Ainsley Chong
24b1bb0f2a Renamed containers_js.go to containers.js to maintain commit history 2016-04-18 13:27:56 -07:00
Lei Xue
dbbe38dfed re-order the import package 2015-11-30 16:43:22 +08:00
Jimmi Dyson
82810f13cd Remove unused code (via deadcode linter) 2015-11-27 21:48:33 +00:00
mqliang
ce001dcd4e Fix imported package names to not use mixedCaps or under_scores 2015-10-22 12:10:57 +08:00
Jimmi Dyson
7072911994 Fix docker containers relative links 2015-09-26 20:19:45 +01:00
Bas van der Lei
a103cee81a use relative links on docker pages 2015-09-08 15:05:58 +02:00
anushree-n
74767b8600 UI changes 2015-08-14 17:57:24 -07:00
anushree-n
04a78502ca Modify generic collector 2015-08-12 17:56:01 -07:00
anushree-n
d1649b17d7 Change X and Y axes labels in custom metrics 2015-07-31 18:10:15 -07:00
anushree-n
44886a0c90 UI changes for custom metrics 2015-07-31 15:47:26 -07:00
Victor Marmol
03059960e2 Lower threshold for "unlimited".
Seems like some kernels report a value a bit lower than MaxInt64.

Fixes #796
2015-07-06 18:26:31 -07:00
Victor Marmol
39b29da609 Escape container names.
Fixes #781
2015-06-26 09:28:49 -07:00
Victor Marmol
04293b1595 Set Content-Type on static files.
Fixes #763
2015-06-09 18:34:04 -07:00
Victor Marmol
b353f0bde2 Refresh network stats on interface change 2015-06-08 10:53:10 -07:00
Victor Marmol
2906722b4f Allow selection of displayed network interface
Fixes #686
2015-06-08 09:58:47 -07:00
Victor Marmol
913d8565f6 Change Cgroup to Container in ps output. 2015-05-22 10:41:47 -07:00
Rohit Jnagal
49bc7e4dce Add backup text to process table if no processes detected. 2015-05-21 20:43:47 +00:00
Rohit Jnagal
b3373b8291 Sort process output initially by cpu usage. 2015-05-20 17:23:20 +00:00
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