kubele: add RSS memroy to the summary API

This commit is contained in:
Yu-Ju Hong
2016-04-07 16:50:55 -07:00
parent 22f01f1041
commit 388b4ff569
3 changed files with 7 additions and 0 deletions

View File

@@ -133,6 +133,9 @@ type MemoryStats struct {
// The amount of working set memory. This includes recently accessed memory,
// dirty memory, and kernel memory. UsageBytes is <= TotalBytes.
WorkingSetBytes *uint64 `json:"workingSetBytes,omitempty"`
// The amount of anonymous and swap cache memory (includes transparent
// hugepages).
RSSBytes *uint64 `json:"rssBytes,omitempty"`
// Cumulative number of minor page faults.
PageFaults *uint64 `json:"pageFaults,omitempty"`
// Cumulative number of major page faults.