Add memory usage to cgroups v1 task metrics.
This commit is contained in:
parent
8d4f59c474
commit
05f58c412c
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user