Maciej "Iwan" Iwanowski
4cf2f01ac8
Incomplete attement to get rid of grpc deprecation warnings
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-05-04 21:21:19 +02:00
Katarzyna Kujawa
738f136b2b
Introduce new machine metrics: ( #2519 )
...
* Introduce new machine metrics:
- machine_cpu_cache_capacity_bytes
- machine_node_hugepages_count
- machine_node_memory_capacity_bytes
- machine_nvm_avg_power_budget_watts
- machine_thread_siblings_count
Introduce timestamp for machine related information
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-04-29 11:58:23 -07:00
Maciej "Iwan" Iwanowski
79ffb0b2f9
Exporting unexported struct
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-23 20:47:16 +02:00
Maciej "Iwan" Iwanowski
bfe072a09e
Replacing unexported interface with exported one
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-23 20:45:37 +02:00
Maciej "Iwan" Iwanowski
8fd2a843de
Replacing unexported interface with exported one
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-23 20:43:27 +02:00
iwankgb
854445c010
Carefully fixing style ( #2509 )
...
* Use golangci-lint to add lint presubmit test, and fix linter errors
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-22 16:26:36 -07:00
Katarzyna Kujawa
7ab5e27909
Add referenced bytes metric for containers
...
see: https://github.com/brendangregg/wss#wsspl-referenced-page-flag
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-04-22 14:05:36 +02:00
iwankgb
0dd4098374
golanci-lint based cleanup ( #2503 )
...
* Cleanups based on linter
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-20 10:53:19 -07:00
David Ashpole
ca7a1173b7
Merge pull request #2478 from dims/switch-to-klog-v2
...
Switch to klog v2
2020-04-10 09:13:38 -07:00
David Ashpole
f72e6ae382
Merge pull request #2448 from dims/docker-based-integration-test
...
Docker based integration test for cadvisor
2020-04-10 09:04:21 -07:00
Davanum Srinivas
94508e8a2f
Switch to klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-09 22:54:37 -04:00
iwankgb
e7efc0a49d
Measuring perf events - chapter I ( #2419 )
...
* Configuration and initial implementation of perf events.
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-09 10:20:07 -07:00
Davanum Srinivas
74bd4f1516
Support for vfs driver
...
Gives us the ability to run tests on Docker macOS
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-06 19:50:04 -04:00
Ted Yu
17df9a9313
Replace deprecated Dial call
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-06 09:38:48 -07:00
David Ashpole
d16bbe88c6
Merge pull request #2467 from tedyu/cad-dual-stack
...
Populate IP address for cri-o release with dual stack support
2020-04-06 08:34:03 -07:00
Ted Yu
ab40025d40
Populate IP address for cri-o release with dual stack support
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-03 17:27:34 -07:00
Ted Yu
4273303203
Construct crio client once
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-03 17:09:18 -07:00
Ted Yu
407d228639
CRI-O client should check Unix Transport error
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-02 09:02:41 -07:00
Davanum Srinivas
af89abfc29
Cleanup unused code
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-24 15:41:02 -04:00
David Ashpole
8af10c683a
Merge pull request #2437 from liggitt/isolate
...
isolate binary dependencies from library dependencies
2020-03-23 10:15:35 -07:00
Jordan Liggitt
855ad76125
Move storage, mesos, global container integrations under cmd/internal
2020-03-23 16:48:40 +00:00
Davanum Srinivas
a0ee89398d
Avoid logging unnecessary errors from systemd handler
...
Just turn the message into a log that folks can see if they turn up the
logging level.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-22 17:24:39 -04:00
Kiel Chan
6ef5a842ab
support to expose environments with prefix specified ( #2430 )
...
* support to expose envs with prefix specified
2020-03-20 10:05:00 -07:00
sulixu
b71d99e0ea
Add hugetlb stats ( #2420 )
...
* add hugetlb stats, disabled by default
2020-03-19 22:53:59 -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
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
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
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
Ted Yu
21dc5c3d72
Assign quota if the parsing doesn't encounter error
2020-02-24 11:25:59 -08:00
Davanum Srinivas
10ad7756af
moving docker/utils into container/docker
2020-01-22 23:00:08 -05:00
Davanum Srinivas
f1fa3d4631
Update to containerd 1.3.2
...
- `go get -u github.com/containerd/containerd`
- `go mod vendor`
2020-01-08 11:57:59 -05:00
ChenQingya
43e78242ea
split advanced tcp metrics from original tcp metrics as advtcp
2020-01-07 12:04:35 +08:00
ChenQingya
0a9365b238
add advance tcp stats, like netstat -s
2020-01-03 15:25:52 +08:00
chenkaiyue
d553c7485e
RetryGettingDockerRoot and log when error
2019-12-21 14:56:32 +08:00
Sahil Rihan
a09cdda5cf
Add ulimit metrics
2019-12-06 15:38:02 -08:00
David Ashpole
10bce1cd55
Merge pull request #2320 from dims/drop-support-for-rkt
...
Drop support for rkt - which is now archived
2019-10-07 11:29:27 -07:00
Davanum Srinivas
b35086151a
Drop support for rkt - which is now archived
...
Change-Id: I4bc38990251fe12be521a242ff9b9c81e2d03501
2019-10-01 20:03:22 -04:00
Sashank Appireddy
4035ea225c
Update the reference to Source attribute for mesos containers.
2019-10-01 10:36:17 -07: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
Sashank Appireddy
249a1d57bc
Provide a config knob to disable collecting root Cgroup stats
2019-08-09 11:28:04 -07:00
Seth Jennings
73b0de8389
container/crio: retry getting pid if 0
2019-08-08 11:21:42 -05:00
Tarun Pothulapati
daa036418b
Use k8s.io/utils/inotify and resolved godep conflicts ( #2269 )
...
Use k8s.io/utils/inotify and resolved godep conflicts
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2019-07-18 09:48:52 -07:00
qinng
83240cc997
add socket number for process stat ( #2260 )
2019-07-15 09:33:09 -07:00
Kiel Chan
2ccad4b42f
add pids stats ( #2257 )
...
Add thread stats
2019-07-03 08:03:53 -07:00
Lorenz Brun
20c85d3460
Replace use of cgo for getting number of online CPUs
2019-05-13 21:54:02 +02:00
Jordan Liggitt
a022fa71b7
Split docker context initialization
2019-04-11 13:50:03 +00:00
Jordan Liggitt
e9a44a2984
Split crio context initialization
2019-04-11 13:50:03 +00:00
Jordan Liggitt
6757727a00
Split rkt context initialization
2019-04-11 13:50:03 +00:00
Jordan Liggitt
7dc4594b32
Add InitializeFSContext hook to plugins
2019-04-11 13:50:03 +00:00