Commit Graph

2881 Commits

Author SHA1 Message Date
David Ashpole
8ddc989fec
Merge pull request #2585 from dashpole/update_jquery
update to jquery 3.5.1
2020-06-12 10:02:47 -07:00
David Ashpole
70bfdcb195 update to jquery 3.5.1 2020-06-12 09:32:53 -07:00
David Ashpole
4059641aa7
Merge pull request #2579 from iwankgb/skip_offline_cpus
Fixed topology with offline CPUs on x86
2020-06-11 08:53:56 -07:00
Maciej "Iwan" Iwanowski
29a53c9373
online file might not exist on x86 for cpu0
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-06-10 22:48:54 +02:00
Maciej "Iwan" Iwanowski
a948687621
Fixing CPU count on ARM along with TestPhysicalCoresReadingFromCpuBus test
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-06-10 22:48:54 +02:00
Maciej "Iwan" Iwanowski
fced3c1490
Fixing code style violations
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-06-10 22:48:54 +02:00
Maciej "Iwan" Iwanowski
bc76b661b9
Fixed topology with offline CPUs on x86
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-06-10 22:48:54 +02:00
David Ashpole
bb5fbc9748
Merge pull request #2581 from ondrejsika/bump-cadvisor-version-in-readme-quickstart
Bump cAdvisor version in README Quickstart
2020-06-10 10:09:31 -07:00
Ondrej Sika
d37c6eeb5b
Bump cAdvisor version in README Quickstart 2020-06-10 07:28:25 +02:00
David Ashpole
1098996665
Merge pull request #2567 from katarzyna-z/kk-fix-core-id
Fix #2566 warning instead of error when core_id or physical_package_id not available
2020-06-09 10:46:19 -07:00
David Ashpole
196b510b52
Merge pull request #2574 from RenaudWasTaken/nvidia
Return a NoopManager if metricset does not container the accelerator value
2020-06-08 17:34:53 -07:00
David Ashpole
cdaec26f70
Merge pull request #2575 from harche/dm_fix
Fix incorrect diskstats for dm devices
2020-06-08 09:26:49 -07:00
David Ashpole
bd8c4d13f8
Merge pull request #2576 from iwankgb/docker_build_on_arm
Using multistage Dockerfile and upgrading Alpine to 3.12
2020-06-08 08:59:12 -07:00
Harshal Patil
3da5347947 Fix incorrect diskstats for dm devices
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-06-08 12:13:47 +05:30
Maciej "Iwan" Iwanowski
bcd6c9c158
Using multistage dockerfile and upgrading alpine to 3.12
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-06-07 00:21:29 +02:00
David Ashpole
6c8da9243e
Merge pull request #2555 from katarzyna-z/kk-k8s-with-perf
Add instruction for running cAdvisor with perf support on k8s
2020-06-05 08:48:01 -07:00
Katarzyna Kujawa
e89bae456b Remove versions of packages installed in container
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-06-05 14:01:20 +02:00
Katarzyna Kujawa
cff7e58eea Fix #2566 warning instead of error when core_id or physical_package_id not available
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-06-05 13:19:55 +02:00
Renaud Gaubert
4bc592b147 Make NVIDIA capitalization consistent in comments
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-06-05 00:07:53 +00:00
Renaud Gaubert
170bae8a5d Return a NoopManager if metricset does not container the accelerator value
This is because the NVIDIA manager opens a handle on nvml at
NewNvidiaManager time.

This is problematic in a kubernetes setting where kubelet now has an
open handle on the NVIDIA driver, preventing an update of the NVIDIA
driver unless kubelet is restarted.

Additionally with the new metrics pipeline in Kubernetes, metrics are
now expected to be collected through a container rather than through the
kubelet itself.

Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-06-05 00:06:48 +00:00
David Ashpole
366d59d3b6
Merge pull request #2573 from shyaamsn/update_go-systemd_v22
Update opencontainers/runc
2020-06-03 16:49:27 -07:00
Shyaam Nagarajan
8f6520c4d6 Bump dependency opencontainers/runc 2020-06-03 23:36:36 +00:00
David Ashpole
fe65b1eeb6
Merge pull request #2572 from ykakarap/master
updating go-conenctions to v0.4.0
2020-06-03 16:05:39 -07:00
Yuvaraj Kakaraparthi
6437801715 updating go-conenctions to v0.4.0 2020-06-03 14:43:23 -07:00
David Ashpole
e1a88ceea4
Merge pull request #2569 from google/dashpole-patch-1
update go version in docs to 1.14
2020-06-03 10:13:29 -07:00
David Ashpole
d0f4ad9e2d
update go version in docs to 1.14 2020-06-03 09:57:56 -07:00
Katarzyna Kujawa
87354faf0f Modify instruction for cAdvisor with perf on k8s
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-06-03 11:29:44 +02:00
Katarzyna Kujawa
81ad6bc082 Add building of cAdvisor with libpfm4 for Docker container
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-06-03 09:40:32 +02:00
David Ashpole
37422b080b
Merge pull request #2565 from iwankgb/not_collecting_root_container_disk_stats
Not collecting disk metric for root container when not requested to
2020-06-01 10:20:53 -07:00
Maciej "Iwan" Iwanowski
e3affc1b79
Not collecting disk metric for root container when not requested to 2020-05-31 00:06:06 +02:00
Katarzyna Kujawa
cd46e07489 Add libpfm4 to main Dockerfile
Remove Dockerfile for perf events

Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-05-29 11:02:31 +02:00
David Ashpole
8d4d5ea98d
Merge pull request #2550 from lubinszARM/pr_cache_log
Move the cache missing log from level-0 to level-1
2020-05-27 09:03:45 -07:00
David Ashpole
f71439b862
Merge pull request #2291 from mJace/numa_support
Provide PSR information for containers.
2020-05-27 09:02:30 -07:00
David Ashpole
147ca3e36c
Merge pull request #2559 from katarzyna-z/kk-fix-perf-stats-api
Fixes perf stats and hugetlb stats on API v2.0
2020-05-27 08:54:59 -07:00
Katarzyna Kujawa
9ccd156d50 Fixes hugetlb stats on API v2.0
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-05-27 14:05:31 +02:00
Katarzyna Kujawa
f64578421e Fixes perf stats on API v2.0
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-05-27 11:50:14 +02:00
mjace
52f9cd97ce Add psr option when ps containers 2020-05-27 15:01:54 +08:00
David Ashpole
107e5aa4c3
Merge pull request #2558 from AlexeyPerevalov/socket_id
Fix test with different order of Topology's nodes
2020-05-26 15:26:18 -07:00
David Ashpole
92f31e79a7
Merge pull request #2556 from gaurav1086/oomparser_fix_data_race
oomparser_test: fix data race
2020-05-26 13:33:52 -07:00
Alexey Perevalov
2e2a4c496a Fix test with different order of Topology's nodes
GetTopology provides Nodes not in order of Node.Id.
PR https://github.com/google/cadvisor/pull/2551 removed that check,
as result test acidentially passed.

Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
2020-05-26 21:32:12 +03:00
Gaurav Singh
7df66d30ec Fix build errors
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-26 14:03:57 -04:00
David Ashpole
12c678119a
Merge pull request #2554 from katarzyna-z/kk-running-docs
Information about running cAdvisor without privileged option
2020-05-26 09:51:15 -07:00
David Ashpole
7de12532ec
Merge pull request #2553 from dashpole/docs_update
Add /dev/kmsg to docker example
2020-05-26 09:49:50 -07:00
David Ashpole
c481d7c60c
Merge pull request #2551 from AlexeyPerevalov/socket_id
Add socket id into Core
2020-05-26 09:48:42 -07:00
Gaurav Singh
83f722be88 oomparser_test: fix data race
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-23 00:11:00 -04:00
Katarzyna Kujawa
a640488bcc Information about running cAdvisor without privileged option
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-05-22 09:13:17 +02:00
David Ashpole
bfa1f90800 add /dev/kmsg to docker example 2020-05-21 15:58:05 -07:00
David Ashpole
425e2117eb
Merge pull request #2552 from tedyu/subcont-nil-chk
Check container against nil before de-referencing
2020-05-21 15:37:58 -07:00
Ted Yu
1ae6987854 Check container against nil before de-referencing
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-21 15:28:59 -07:00
David Ashpole
9253ce057a
Merge pull request #2469 from giuseppe/update-libcontainer
libcontainer, cgroupv2: adapt to new API
2020-05-21 15:05:41 -07:00