Commit Graph

2667 Commits

Author SHA1 Message Date
Maciej "Iwan" Iwanowski
adf41ba206
Moving Nvidia interfaces to stats package so that they can be used outside of the accelerators package
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-17 11:19:19 +01:00
David Ashpole
9921cb3e21
Merge pull request #2343 from kimminger/master
Corrected Typo in Clusterrole & Clusterrolebinding
2020-03-16 10:41:22 -07:00
David Ashpole
d7f4b3932b
Merge pull request #2421 from iwankgb/dimm_power_usage
NVM power usage
2020-03-16 10:40:17 -07:00
David Ashpole
5bca5d7a8d
Merge pull request #2429 from ctripcloud/RenameAllMetricSet
refactor AllMetrics to support external reference
2020-03-16 09:38:37 -07:00
David Ashpole
133da87ea0
Merge pull request #2428 from dims/drop-dependency-on-operatingsytem-package-in-docker/docker
Drop dependency on operatingsytem package in docker/docker
2020-03-16 09:37:43 -07:00
ChenQingya
e49c397a3b refactor AllMetrics to support external reference
Signed-off-by: ChenQingya <qingya.chen520@gmail.com>
2020-03-16 15:38:01 +08:00
Davanum Srinivas
f8a119bcaf
Drop dependency on docker/docker/pkg/parsers/operatingsystem
Pick up code from winstats:
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/winstats/version.go#L33

Write fresh code to parse unix files using regex

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-15 12:19:13 -04:00
Davanum Srinivas
1ec189c286
cleanup vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-15 11:44:29 -04:00
Maciej "Iwan" Iwanowski
86d31c9562
Renaming serialized struct
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:59:50 +01:00
Maciej "Iwan" Iwanowski
43641a0533
Using build tags to handle case when cgo is not available
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:47 +01:00
Maciej "Iwan" Iwanowski
338904e6ed
Using a struct to store all NVM-related information
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:47 +01:00
Maciej Iwanowski
920cb80d65
Missing space added to API docs
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:47 +01:00
Maciej Iwanowski
051854cc5a
uint must be returned
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:47 +01:00
Maciej Iwanowski
f8f60e2182
Mentioning version of libipmctl used
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:47 +01:00
Maciej Iwanowski
84d8801185
Updating API documentation, license headers and build instructions
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:47 +01:00
Maciej Iwanowski
98bee3087e
Initializing and uninitializing library in GetNVMAvgPowerBudget function
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:46 +01:00
Maciej Iwanowski
69318454cf
Providing recipe for building cAdvisor with libipmctl support
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:46 +01:00
Maciej Iwanowski
8594a6fb2c
Setting NVM power budget information on MachineInfo struct
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:46 +01:00
Maciej Iwanowski
6dac5794f7
Retrieving NVM average power budget
Conflicts:
	info/v1/machine.go

Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:38 +01:00
David Ashpole
9251e327b9
Merge pull request #2426 from iwankgb/missing_struct_tags
Adding missing struct tags for JSON consistency
2020-03-12 10:11:56 -07:00
Maciej "Iwan" Iwanowski
608b9589f2
Adding missing struct tags for JSON consistency
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-12 09:33:21 +01:00
Zhihong Yu
13807d165b
Check extraErr before accessing extraUsage.Bytes (#2401)
* Check extraErr before accessing extraUsage.Bytes

Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-03-09 10:14:06 -07:00
iwankgb
a8de0e0fff
Nvm and dimm information (#2415)
* Adding information about memory capacity and number of memory DIMMs by memory type

Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-06 11:56:13 -08:00
David Ashpole
cfe6b50eb9
Merge pull request #2418 from dashpole/oom_5_kernel
Handle the new 5.0 linux format for oom messages
2020-03-06 09:58:33 -08:00
David Ashpole
7152b60680
Merge pull request #2414 from katarzyna-z/kk-machine-api-cores-sockets
Extending machine API by number of physical cpu cores and cpu sockets
2020-03-05 17:32:25 -08:00
David Ashpole
c470c61061
Merge pull request #2262 from sanek9/master
Append application metrics to /metrics so that prometheus can read #1616
2020-03-05 16:58:17 -08:00
David Ashpole
f6f5fd21b4 handle the new 5.0 linux format for oom messages 2020-03-05 11:53:40 -08:00
David Ashpole
820136cdba
Merge pull request #2416 from gongguan/not-ignore-error
fix GetDirUsage error ignored
2020-03-04 09:08:16 -08:00
louisgong
56d6f99e48 fix GetDirUsage ignore error 2020-03-04 20:33:59 +08:00
Katarzyna Kujawa
a5890578dd Extending machine API by number of cpu physical cores and cpu sockets
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-03-03 09:51:31 +01:00
David Ashpole
227ac939dd
Merge pull request #2413 from dashpole/document_latest
Document that we don't update the latest tag
2020-03-02 10:08:40 -08:00
David Ashpole
fd0e4a160b don't update the latest tag anymore 2020-03-02 09:55:14 -08:00
David Ashpole
4fe450a239
Merge pull request #2409 from dashpole/changelog_v36
v0.36.0 changelog
2020-02-28 17:05:09 -08:00
David Ashpole
05dbb7e304 v0.36.0 changelog 2020-02-28 16:45:38 -08:00
David Ashpole
ad437f296a
Merge pull request #2402 from tedyu/period-adjuster
Adjust period after each fh.update() call
2020-02-28 15:01:05 -08:00
Ted Yu
78af2b02e1 Adjust period after each fh.update() call
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-02-28 14:49:57 -08:00
David Ashpole
788b6d49ef
Merge pull request #2403 from tedyu/device-type-found
Verify that fsType is found for device
2020-02-28 13:37:58 -08:00
Ted Yu
b321dc68e8 Verify that fsType is found for device
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-02-28 12:42:18 -08:00
David Ashpole
d93f46f09d
Merge pull request #2398 from tedyu/machine-node
Simplify getNodeIdFromCpuBus
2020-02-28 12:21:19 -08:00
David Ashpole
f4a66f7375
Merge pull request #2407 from dims/update-opencontainers-runc-to-rc10
Bump dependency opencontainers/runc@v1.0.0-rc10
2020-02-28 09:00:52 -08:00
David Ashpole
28c3f88d64
Merge pull request #2408 from dims/update-opencontainers/selinux-to-v1.3.3
Bump github.com/opencontainers/selinux to v1.3.3
2020-02-28 08:58:13 -08:00
Davanum Srinivas
e5b773ef50
Bump github.com/opencontainers/selinux to v1.3.3
To pick up a fix for a regression:
4e413ab114

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-02-28 11:40:45 -05:00
Davanum Srinivas
8e1802154d
Bump dependency opencontainers/runc@v1.0.0-rc10
Need to match what we did already in kubernetes:
088ee920e0

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-02-28 09:38:47 -05:00
David Ashpole
342f2f4a0e
Merge pull request #2405 from dims/update-containerd/containerd-to-v1.3.3
Update containerd/containerd to v1.3.3
2020-02-26 11:25:46 -08:00
Davanum Srinivas
043bcb03a4
update opencontainers/selinux to 1.3.2 2020-02-26 09:52:57 -05:00
Davanum Srinivas
e483fa9658
update containerd, docker/distribution and mindprince/gonvml 2020-02-26 09:52:49 -05:00
David Ashpole
e1d7efe383
Merge pull request #2400 from dims/update-vendor-dir-for-k8s.io/utils
Update vendor for k8s.io/utils
2020-02-24 13:45:26 -08:00
Davanum Srinivas
3de6f883fe Update vendor for k8s.io/utils 2020-02-24 16:25:58 -05:00
David Ashpole
9268b49cf4
Merge pull request #2397 from tedyu/helper-quota-error
Assign quota if the parsing doesn't encounter error
2020-02-24 12:57:55 -08:00
Ted Yu
29824ab110 Simplify getNodeIdFromCpuBus 2020-02-24 11:28:49 -08:00