Add memory usage to cgroups v1 task metrics.

This commit is contained in:
Shishir Mahajan 2020-06-15 14:22:54 -07:00
parent 8d4f59c474
commit 05f58c412c
No known key found for this signature in database
GPG Key ID: D41782E7688DEC4A

View File

@ -240,6 +240,7 @@ func (h *taskHandle) getV1TaskResourceUsage(metrics *v1.Metrics) *drivers.TaskRe
}
ms := &drivers.MemoryStats{
Usage: metrics.Memory.Usage.Usage,
RSS: metrics.Memory.RSS,
Cache: metrics.Memory.Cache,
}