Commit Graph

2469 Commits

Author SHA1 Message Date
Takayoshi Kimura
f988ade02d Change log level to warning instead of error when cgroups file read failed.
Because cgroups file may not exist at the timing of the read, it's better not to use error level.
2019-02-07 14:19:22 +09:00
David Ashpole
0995283c32
Merge pull request #2160 from gaorong/victimContainerName
change default oom victim container name
2019-02-05 09:27:02 -08:00
David Ashpole
9b2d88cd62
Merge pull request #2162 from gaorong/cleanup_oomparser_test
cleanup oom parser test
2019-02-04 09:53:25 -08:00
gaorong
1ea111582c cleanup oom parser test 2019-02-02 10:08:58 +08:00
gaorong
407289527c change default oom victim container name 2019-02-02 10:00:57 +08:00
David Ashpole
150629c099
Merge pull request #2147 from namreg/update-machine-info-periodically
Periodically updates machine info
2019-01-16 10:16:46 -08:00
Igor German
f2d9f42126 Run gofmt 2019-01-15 23:35:48 +03:00
David Ashpole
8240c4af0b
Merge pull request #2103 from WanLinghao/disable-diskio
Add support to disable diskIO metrics
2019-01-15 09:20:04 -08:00
Igor German
8b0ff0160c Periodically updates machine info 2019-01-15 18:17:19 +03:00
WanLinghao
4eab5b671e Add support to disable diskIO metrics 2019-01-15 09:43:33 +08:00
David Ashpole
45d3b774d6
Merge pull request #2135 from Betula-L/fix_timestamp_error
fix timestamp error for container_last_seen
2019-01-09 14:55:51 -08:00
luhualin
e88534ca70 fix timestamp error for container_last_seen 2019-01-04 10:12:38 +08:00
David Ashpole
0577c1b1fe
Merge pull request #2137 from dashpole/fix_builds
update asset headers to 2019
2019-01-03 10:57:41 -08:00
David Ashpole
3fdae0d582 update asset headers to 2019 2019-01-03 10:40:50 -08:00
David Ashpole
864d279257
Merge pull request #2127 from lubinszARM/cpuinfo2
Bug fix if no NUMA support in kernel
2018-12-17 09:45:04 -08:00
Bin Lu
5fe243eca8 Bug fix if no NUMA support in kernel
Signed-off-by: Bin Lu <bin.lu@arm.com>
2018-12-14 01:56:05 -08:00
David Ashpole
55d76d7998
Merge pull request #2124 from Betula-L/fix-timestamp-gap
add prometheus metrics timestamp
2018-12-12 09:48:33 -08:00
luhualin
5c41c694a8 add prometheus metrics timestamp 2018-12-11 11:44:17 +08:00
hangongithub
70b83b9ac4 Ensure tcp6 and udp6 metrics are published via Prometheu (#2102)
add tcp6 and udp6 metrics to the prometheus endpoint

Change-Id: I17bcfee653527fe07d4791019e0e864ca88aeda3
2018-12-07 10:27:46 -08:00
David Ashpole
8b1337898f
Merge pull request #2114 from lubinszARM/cpuinfo
Fix bug:getTopology will be failed on Arm platform
2018-12-05 17:29:52 -08:00
Mikkel Oscar Lyderik Larsen
c097b20fba Add flag to white list container labels for prometheus metrics (#2113)
Add white_listed_container_labels flag to white list container labels for prometheus metrics

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2018-12-05 11:19:53 -08:00
Bin Lu
2e0d48f16a Fix bug:getTopology will be failed on Arm platform
On Arm platform, no 'core id' and 'physical id' in '/proc/cpuinfo'.
So we should search sysfs cpu path directly to get the data of
'thread_id' &'core_id' & 'node_id'.
This method can also be used on other platforms, such as x86, ppc64le...
/sys/bus/cpu/devices/cpu%d contains the information of 'core_id' & 'node_id'.
Such as:
cat /sys/bus/cpu/devices/cpu0/topology/core_id
ls /sys/bus/cpu/devices/cpu0/node0

Signed-off-by: Bin Lu <bin.lu@arm.com>
2018-12-05 11:15:07 +08:00
David Ashpole
ba5704f4bc
Merge pull request #2122 from changlan/check-mesos-task-label
Fix Panic: Check whether Mesos task labels are available
2018-12-04 17:53:42 -08:00
Chang Lan
25dc521186 Check whether Mesos task labels are available 2018-12-04 14:06:47 -08:00
David Ashpole
a058406b24
Merge pull request #2120 from ElfoLiNk/missing-curl
Missing curl for health check
2018-12-04 09:55:39 -08:00
David Ashpole
27baaca114
Merge pull request #2117 from tghosgor/master
added --uri_base_prefix option (#2018)
2018-12-04 09:55:14 -08:00
Matteo Gazzetta
20826a5875 Missing curl for health check 2018-12-04 09:02:59 +01: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
Matteo Gazzetta
df781efe0b Dockerfile Healthcheck (#1950)
Add HEALTHCHECK to Dockerfile
2018-12-03 13:56:07 -08:00
David Ashpole
cf21050b59
Merge pull request #2101 from dashpole/gpu_privilages
Add example kustomization which gives cAdvisor access to NVML
2018-11-21 10:06:29 -08:00
David Ashpole
a7b2864a7b add example kustomization which gives cAdvisor access to NVML 2018-11-21 09:59:06 -08:00
David Ashpole
8949c822ea
Merge pull request #2099 from dashpole/changelog_v0.32.0
Changelog for v0.32.0
2018-11-12 13:55:08 -08:00
David Ashpole
5960dd2e2b changelog for v0.32.0 2018-11-12 13:45:17 -08:00
David Ashpole
4c77cd7d7f
Merge pull request #2097 from dashpole/remove_unused_method
Remove unused interface method
2018-11-09 09:51:31 -08:00
David Ashpole
e4d403193f remove unused interface method 2018-11-09 09:29:26 -08:00
David Ashpole
e310755a36
Merge pull request #2091 from dims/move-from-glog-to-klog
Move from glog to klog
2018-11-08 15:25:47 -08:00
Davanum Srinivas
4da6d809be
Move from glog to klog
Change-Id: Ic92f57c2d7f268d8d985797974883c1a537d6993
2018-11-08 18:06:28 -05:00
David Ashpole
13e3e833a3
Merge pull request #2094 from orisano/fix-unwrap-error
fix: unwrap error for os.IsNotExist
2018-11-07 12:28:27 -08:00
Nao YONASHIRO
3d284e19eb fix: unwrap error for os.IsNotExist 2018-11-07 15:01:18 +09:00
David Ashpole
84e52259f6
Merge pull request #2093 from sashankreddya/cache_process_metrics
Cache process metrics
2018-11-06 13:38:55 -08:00
Sashank Appireddy
da29418c31 cache process metrics 2018-11-06 13:29:14 -08:00
David Ashpole
48605ecb89
Merge pull request #2085 from orisano/master
improve ListDirectories performance
2018-11-06 09:48:51 -08:00
David Ashpole
ac9f64682a
Merge pull request #2090 from sigma/pr/fix-licensing
update github.com/sigma/go-inotify
2018-11-02 15:53:43 -07:00
Yann Hodique
d06e601f3e update github.com/sigma/go-inotify
This includes license/patents files for proper integration into kubernetes.
See context in sigma/go-inotify#1
2018-11-02 15:20:02 -07:00
Nao YONASHIRO
2300be56d7 feat: use karrick/godirwalk 2018-11-02 08:22:42 +09:00
David Ashpole
8faf190927
Merge pull request #2069 from sashankreddya/process_fd_metrics
Emit number of processes and file descriptors of a container
2018-11-01 10:23:05 -07:00
Sashank Appireddy
02ecf721f5 Emit number of processes and file descriptors of a container 2018-10-29 16:55:34 -07:00
Sashank Appireddy
026bc840e1 Merge remote-tracking branch 'upstream/master' 2018-10-29 16:54:40 -07:00
David Ashpole
32b5c68765
Merge pull request #2081 from dashpole/go_1.11
Update formatting for go 1.11
2018-10-29 11:25:09 -07:00
David Ashpole
d44ade2927 make formatting compatible with 1.11, and revert #2056 2018-10-23 11:28:14 -07:00