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
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
Alexander Voitov
22c5e624bc
export application metrics via /metrics
2020-02-03 00:31:05 +03: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
Sahil Rihan
a09cdda5cf
Add ulimit metrics
2019-12-06 15:38:02 -08:00
sewon.oh
cb3a2bef46
Remove duplicated logic
...
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2019-10-04 14:31:01 +09:00
sewon.oh
d138b59aa2
Add hugepage info to v1 node structure
...
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2019-09-05 15:12:13 +09: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
Davanum Srinivas
4da6d809be
Move from glog to klog
...
Change-Id: Ic92f57c2d7f268d8d985797974883c1a537d6993
2018-11-08 18:06:28 -05:00
Sashank Appireddy
da29418c31
cache process metrics
2018-11-06 13:29:14 -08:00
Sashank Appireddy
02ecf721f5
Emit number of processes and file descriptors of a container
2018-10-29 16:55:34 -07:00
William Zhang
7961198a0c
fix spelling errors
...
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2018-09-28 15:49:25 +08:00
Gijs Kunze
9e175e9ea9
Adds mapped_file metric
2018-08-09 15:14:46 +02:00
nielsole
08f0c2397c
Adding /proc/<pid>/schedstat ( #1872 )
...
Add /proc/<pid>/schedstat metrics for scheduler metrics
2018-03-08 09:27:06 -08:00
Andy Xie
1ccbe6fdd0
reduce labels for container info
2018-01-12 00:14:01 +08:00
David Ashpole
3d6ad6dd86
on demand metrics
2017-11-20 14:51:04 -08:00
Andy Xie
9211091bdc
marshal device name to json output
2017-11-15 13:45:57 +08:00
Rohit Agarwal
126fb2232e
Add accelerator metrics to the API.
...
The structure is generic to support most hardware accelerators like
GPUs, TPUs etc.
Note that the prometheus label for id is called acc_id, so that it
doesn't conflict with some other label that maybe called id.
2017-11-01 14:41:35 -07:00
Derek Carr
9ea61176bf
Expose memory.max_usage_in_bytes in container stats
2017-10-10 17:31:31 -04:00
Yang Guo
a5adaad26d
Add an API to get FsStats from filesystem UUID
2017-08-23 12:33:42 -07:00
Derek Carr
556c7b125a
Machine info introspects hugepages
2017-08-11 23:27:15 -04:00
Clayton Coleman
4e25a7951f
Report container FS metrics into prometheus /metrics
...
PerDiskStats reported from cgroups were not being surfaced into
prometheus. In order to properly correlate the metrics, we need to
assign a device label to each metric (which is the FS or device path).
Since blkio cgroup tracks devices, we create a synthetic device
`/dev/NAME` for the metric.
Assign a Device label to each PerDiskStat for the handlers up front, and
then surface the PerDiskStat values into the prometheus metrics. Report
two new metrics - total bytes read and total bytes written.
2017-04-24 20:46:55 -04:00
Derek Carr
35e1900899
Reduce cAdvisor log spam with multiple devices
2017-04-12 14:38:37 -04:00
Danny Krainas
8aa7e674e5
set envs when converting to v2 spec
2017-04-11 00:21:35 -04:00
Tristan Colgate
227bb3a79d
Add udp and udp6 network statistics
2017-04-10 20:41:51 +01:00
Manjunath A Kumatagi
8fb1158353
Add Docker API version
2017-04-04 10:56:11 +05:30
David Ashpole
696b82ae97
do not log multiple filesystems if root container
2017-01-09 10:55:41 -08:00
fzu-huang
95153bb857
Fixes partion name, v2 TCP stats
2016-12-27 00:09:51 +08:00
David Ashpole
9fdeefe3e4
Cadvisor now publishes per-container inode stats using the command 'find . -xdev printf '.'| wc -c' this is published in the v2 api using a new field
2016-10-12 13:16:21 -07:00
Tim St. Clair
afe67fec68
Cleanup comment style: // should be proceded by a space
2016-10-07 17:06:02 -07:00
Jimmi Dyson
041c5af905
Switch to Prometheus decoder
2016-09-22 22:22:07 +01:00
Florian Koch
3ce98a46c4
add cgropu swap usage and export as prometheus metric
2016-08-09 07:33:37 +02:00
Tobias Schmidt
1653733ea7
Expose cpu cgroup CFS prometheus metrics
...
If CPU quota is configured (cpu.cfs_quota != -1) the CFS will provide
stats about elapsed periods and throtting in cpu.stats. This change
makes these information available as container_cpu_cfs_* metrics.
2016-08-06 18:08:26 -04:00
derekwaynecarr
6c114be580
Expose total inodes
2016-08-02 10:47:51 -04:00
derekwaynecarr
cccf9d5fec
Allow clients to know if inodes are supported on a filesystem
2016-07-26 11:15:07 -04:00
derekwaynecarr
8551b0ebf7
filesystem usage stats are wrong in v2 api
2016-07-25 17:33:26 -04:00
Ron Lai
29ffb3b6b9
Adding inode info
2016-06-27 11:52:40 -07:00
Lantao Liu
8c362dc0dc
Fix uint64 overflow in info/v2/conversion.go.
2016-06-16 10:41:12 -07:00
Tim St. Clair
f365c6a115
Move docker types to v1 API
2016-05-02 15:52:29 -07:00
derekwaynecarr
89676792bd
Fix typo in constant
2016-03-08 13:00:16 -05:00
Vishnu kannan
2defa0bddb
Adding support for inodes.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-25 15:13:58 -08:00
Erez Freiberger
885649a9b6
cloudinfo: Adding AWS support and InstanceID
2016-02-18 15:28:20 +02:00
Jimmi Dyson
a8946729de
Merge pull request #969 from f0/master
...
add support for cgroup CPUQuota and CPUPeriod prometheus limit
2016-02-04 16:51:38 +00:00
Vishnu kannan
f5829b4744
Rework the v2.1 API to expose container Info.
...
Added a test for filesystem stats. Devicemapper backend is ignored
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-03 17:02:49 -08:00
Florian Koch
669bc4abfa
add cgroup quota and period support / add missing tests
2016-02-02 20:33:11 +01:00
Tim St. Clair
f5bceae3a2
Merge pull request #1033 from asteris-llc/master
...
Add the support for kafka in cAdvisor's storage, including output of container id and labels
2016-01-29 17:17:06 -05:00
Allison Richardet
80ba7e7db7
Add the support for kafka in cAdvisor's storage, including output of container id and labels
...
Addressing PR Feedback
Addressing PR Feedback
2016-01-27 21:33:57 -06:00
Hubert Krauze
7d053578d4
Use uint64 for Memory Stats
2016-01-20 08:46:42 +01:00