Commit Graph

9 Commits

Author SHA1 Message Date
David Ashpole
3d6ad6dd86 on demand metrics 2017-11-20 14:51:04 -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
Danny Krainas
8aa7e674e5 set envs when converting to v2 spec 2017-04-11 00:21:35 -04:00
David Ashpole
696b82ae97 do not log multiple filesystems if root container 2017-01-09 10:55:41 -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
Lantao Liu
8c362dc0dc Fix uint64 overflow in info/v2/conversion.go. 2016-06-16 10:41:12 -07:00
Vishnu kannan
2defa0bddb Adding support for inodes.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-25 15:13:58 -08:00
Tim St. Clair
04f3743a09 Fix v2 stats conversion NPD & add test 2016-01-16 16:22:04 -08:00
Tim St. Clair
e011781a88 Add V2 ContainerInfo API
- Add V2 ContainerInfo struct
- Move v1/v2 conversion functions to a reusable package
- Add V2 ContainerInfo accessor method to Manager
2016-01-13 11:58:09 -08:00