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

Add stats to stdout storage #2612

Merged
merged 1 commit into from
Sep 11, 2020
Merged

Add stats to stdout storage #2612

merged 1 commit into from
Sep 11, 2020

Conversation

piowag
Copy link
Contributor

@piowag piowag commented Jul 7, 2020

Add stats to stdout storage: memory, hugetlb, perf, resctrl, referenced memory

@k8s-ci-robot
Copy link
Collaborator

Hi @piowag. Thanks for your PR.

I'm waiting for a google member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@dashpole
Copy link
Collaborator

dashpole commented Jul 7, 2020

/ok-to-test

@@ -32,27 +33,62 @@ type stdoutStorage struct {
}

const (
colTimestamp = "timestamp"
// CPU Uasge
colCpuCumulativeUsage = "cpu_cumulative_usage"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm fine with the rename, but just in-case someone is using these metrics, lets keep the old name around as well, with a link to an issue to remove it in a few releases (v0.39.0)

@Creatone
Copy link
Collaborator

Creatone commented Aug 4, 2020

cc: @Creatone

Signed-off-by: Piotr Wagner <piotr.wagner@intel.com>
@dashpole
Copy link
Collaborator

dashpole commented Aug 7, 2020

This looks good. Do you think we have enough metrics here where we need to start respecting --ignore-metrics? I believe the current PR will just have zero values for disabled metrics, which is acceptable, but adds to the load for any backends that process the data.

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 d3963d8 into google:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants