Use cgroups proto for prom metrics
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -123,7 +123,7 @@ func (c *Collector) Remove(id, namespace string) {
|
||||
delete(c.cgroups, taskID(id, namespace))
|
||||
}
|
||||
|
||||
func blkioValues(l []cgroups.BlkioEntry) []value {
|
||||
func blkioValues(l []*cgroups.BlkioEntry) []value {
|
||||
var out []value
|
||||
for _, e := range l {
|
||||
out = append(out, value{
|
||||
|
Reference in New Issue
Block a user