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

v2: Rename hpa metrics to use full horizontalpodautoscaler n… #1003

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

tlereste
Copy link
Contributor

@tlereste tlereste commented Dec 13, 2019

What this PR does / why we need it:
Rename hpa metrics to use full horizontalpodautoscaler nomenclature for v2.0.0
Which issue(s) this PR fixes :
Fixes #977

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 13, 2019
@tlereste tlereste changed the title Issue #977 - Rename hpa metrics to use full horizontalpodautoscaler n… Rename hpa metrics to use full horizontalpodautoscaler n… Dec 13, 2019
@tlereste
Copy link
Contributor Author

/retest

@k8s-ci-robot
Copy link
Contributor

@tlereste: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

@tariq1890 tariq1890 changed the title Rename hpa metrics to use full horizontalpodautoscaler n… v2: Rename hpa metrics to use full horizontalpodautoscaler n… Dec 17, 2019
@tariq1890 tariq1890 added the v2 version 2 label Dec 17, 2019
@tariq1890
Copy link
Contributor

/hold

Putting on hold until the release of v1.9.0 .

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 17, 2019
@tariq1890
Copy link
Contributor

@tlereste Thank you for your PR. Can you squash your commits as well?

@tlereste
Copy link
Contributor Author

@tlereste Thank you for your PR. Can you squash your commits as well?

Done !

@lilic
Copy link
Member

lilic commented Jan 31, 2020

@tlereste do you mind rebasing your PR, after that we can merge, thanks! :)

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 31, 2020
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 31, 2020
@tlereste
Copy link
Contributor Author

@tlereste do you mind rebasing your PR, after that we can merge, thanks! :)

Ok thanks, rebase is done :)

Copy link
Member

@lilic lilic left a comment

Choose a reason for hiding this comment

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

One question to the maintainers otherwise 👍 Thanks!

internal/store/horizontalpodautoscaler.go Outdated Show resolved Hide resolved
@@ -43,15 +43,15 @@ func (m MetricTargetType) String() string {
}

var (
descHorizontalPodAutoscalerLabelsName = "kube_hpa_labels"
descHorizontalPodAutoscalerLabelsName = "kube_horizontalpodautoscaler_labels"
descHorizontalPodAutoscalerLabelsHelp = "Kubernetes labels converted to Prometheus labels."
descHorizontalPodAutoscalerLabelsDefaultLabels = []string{"namespace", "hpa"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
descHorizontalPodAutoscalerLabelsDefaultLabels = []string{"namespace", "hpa"}
descHorizontalPodAutoscalerLabelsDefaultLabels = []string{"namespace", "horizontalpodautoscaler"}

Copy link
Contributor

@tariq1890 tariq1890 Jan 31, 2020

Choose a reason for hiding this comment

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

NOTE: Just highlighting the suggestion, I wouldn't suggest committing this suggestion. Can you change this manually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Can you let met rerun the tests please ?

@tlereste
Copy link
Contributor Author

tlereste commented Feb 4, 2020

/retest

@k8s-ci-robot
Copy link
Contributor

@tlereste: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

@tariq1890
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Feb 4, 2020
@tlereste
Copy link
Contributor Author

tlereste commented Feb 4, 2020

/retest

@tariq1890
Copy link
Contributor

@tlereste Can you force push again? That should retrigger the tests.

@lilic
Copy link
Member

lilic commented Feb 4, 2020

I manually retriggered the job.

Copy link
Contributor

@tariq1890 tariq1890 left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 4, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tariq1890, tlereste

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 4, 2020
@tariq1890
Copy link
Contributor

/hold cancel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. v2 version 2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v2: Rename hpa metrics to use full horizontalpodautoscaler nomenclature
5 participants