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
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
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
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
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
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
Sashank Appireddy
da29418c31
cache process metrics
2018-11-06 13:29:14 -08: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
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
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
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
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
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
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
Vishnu kannan
6dfdd8eca1
1. Update filesystem stats APIs.
...
2. Add BaseUsage to containers which includes only the rootfs usage, if available.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-15 15:39:17 -08:00
Shimin Guo
97e71c9ac0
fixing style
2016-01-15 10:22:52 -08:00
Shimin Guo
d656ffb0db
Add unit tests.
2016-01-15 08:53:30 -08:00
Shimin Guo
a26b58ec8e
expose page cache size
2016-01-15 08:45:51 -08:00
Shimin Guo
1a867bdadd
expose RSS
2016-01-15 08:45:51 -08:00
Daniel Dao
e5b6bfa94f
add whitelisted env as container metadata
...
This add Envs to container spec as a metadata source. When using prometheus
exposition format, they will be merged into the list of metrics' labels.
Also changed the cli flag to docker_env_metadata_whitelist, and add refenrences
of whitelist envs to API
Signed-off-by: Daniel Dao <dqminh@cloudflare.com>
2016-01-13 11:22:13 +00:00
Piotr Szczesniak
9e739ec757
Added possibility to not ignore NumStats field in ContainerInfoRequest
2015-12-08 21:29:56 +01:00
Lei Xue
e36fc90b3f
comment fix for function ContainerInfoRequest
2015-12-03 07:44:49 +08:00
Jimmi Dyson
82810f13cd
Remove unused code (via deadcode linter)
2015-11-27 21:48:33 +00:00