Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose total_rss when hierarchy is enabled #1728

Merged
merged 1 commit into from
Aug 23, 2017

Conversation

derekwaynecarr
Copy link
Collaborator

If hierarchy is enabled, we should return total_rss instead of rss when reporting container stats.

This is a follow-up to previously reported issue in kubernetes here:
kubernetes/kubernetes#43399 (comment)

/cc @sjenning @dashpole @vishh @smarterclayton

@derekwaynecarr derekwaynecarr changed the title Expose total_rss when hierarchy is enabled WIP: Expose total_rss when hierarchy is enabled Aug 23, 2017
@derekwaynecarr
Copy link
Collaborator Author

I need to test this in a kube context to make sure it works as expected for our summary api.

@derekwaynecarr derekwaynecarr changed the title WIP: Expose total_rss when hierarchy is enabled Expose total_rss when hierarchy is enabled Aug 23, 2017
@derekwaynecarr
Copy link
Collaborator Author

ok, i think this is fine.

Copy link
Contributor

@sjenning sjenning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Collaborator

@dashpole dashpole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dashpole dashpole merged commit a0be0ea into google:master Aug 23, 2017
openshift-merge-robot added a commit to openshift/origin that referenced this pull request Sep 19, 2017
Automatic merge from submit-queue

cadvisor/runc updates

Support CRI-O:
google/cadvisor#1741

Fix memory stats:
google/cadvisor#1728
opencontainers/runc#1378

@derekwaynecarr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants