David Ashpole
fb50679e9d
update assets to fix builds
2020-02-24 10:54:56 -08:00
David Ashpole
30e988f848
update assets to fix e2e tests
2020-01-06 15:43:06 -08:00
Daniel, Dao Quang Minh
236f41d419
Add support for go module ( #2338 )
...
* add go module support, update go-bindata ref, bump runc dep
```
go mod init github.com/google/cadvisor
go mod tidy
go get github.com/matttproud/golang_protobuf_extensions@c182affec369e30f25d3eb8cd8a478dee585ae7d
go get github.com/containerd/typeurl@5eb25027c9fdd675e1db2bd25af02f5db75027ab
```
Somehow the dependencies retrieved by `go mod init` was mismatched (maybe because
runc itself does not support go module yet ?). This fixes the dependencies retrieved
in go module, the packages bump itself seems sane.
The original go-bindata is unmaintained and is on an old revision, so our usage
of it is outdated. Changed to https://github.com/kevinburke/go-bindata which
seems to be a more official and well maintained fork, and bump to latest version.
2019-12-03 10:41:37 -08:00
Giuseppe Scrivano
60f064ee41
cgroup: initial support for cgroups v2
...
add some initial support for cgroups v2. Not all the stats
supported on cgroups v1 are supported, e.g. it is not possible to read
percpu usage.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-06 21:26:35 +02:00
David Ashpole
3fdae0d582
update asset headers to 2019
2019-01-03 10:40:50 -08:00
Tolga HOSGOR
8018ee104b
added --url_base_prefix option ( #2018 )
...
Some reverse proxies do not support overriding 'Location' header
in 3xx responses. This commit adds a --url_base_prefix option
that adds a prefix to all URLs of cAdvisor so that
redirects go to the correct places.
2018-12-04 09:41:51 +03:00
Davanum Srinivas
4da6d809be
Move from glog to klog
...
Change-Id: Ic92f57c2d7f268d8d985797974883c1a537d6993
2018-11-08 18:06:28 -05:00
David Ashpole
d44ade2927
make formatting compatible with 1.11, and revert #2056
2018-10-23 11:28:14 -07:00
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