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

Updating names from webhookconversion to conversionwebhook for apiserver #118542

Merged
merged 2 commits into from Jun 16, 2023

Conversation

cchapla
Copy link
Contributor

@cchapla cchapla commented Jun 7, 2023

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

PR changes the names from webhook conversion to conversion webhook to follow right naming convention.
This PR also changes the variable increment location to reflect correct log messages.

Which issue(s) this PR fixes:

Ref #117167

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Yes. This PR changes the apiserver metrics names from webhook_conversion_request_total to conversion_webhook_request_total and webhook_conversion_duration_seconds to conversion_webhook_duration_seconds

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 7, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @cchapla. Thanks for your PR.

I'm waiting for a kubernetes 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.

@k8s-ci-robot k8s-ci-robot added the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Jun 7, 2023
@k8s-ci-robot k8s-ci-robot added sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Jun 7, 2023
@shyamjvs
Copy link
Member

shyamjvs commented Jun 7, 2023

/ok-to-test
/priority important-soon

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Jun 7, 2023
@shyamjvs
Copy link
Member

shyamjvs commented Jun 7, 2023

This PR changes the apiserver metrics names from webhook_conversion_request_total to conversion_webhook_request_total and webhook_conversion_duration_seconds to conversion_webhook_duration_seconds

To clarify, this metric was just added in a PR that was merged yesterday - #118292. It hasn't gone into a release yet - so there's no user-facing breakage.

@cchapla to avoid duplicate release notes from showing, can you clear the release note from this CR and only update there with the right metric names?

@k8s-ci-robot k8s-ci-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. release-note-none Denotes a PR that doesn't merit a release note. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Jun 7, 2023
@jiahuif
Copy link
Member

jiahuif commented Jun 8, 2023

/cc @logicalhan
/assign @alexzielenski

@jiahuif
Copy link
Member

jiahuif commented Jun 8, 2023

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 8, 2023
@shyamjvs
Copy link
Member

shyamjvs commented Jun 8, 2023

/lgtm

Will wait for @logicalhan to give approve from sig-instrumentation side.

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

LGTM label has been added.

Git tree hash: c3fb859337b90003de27800c988dd0f3e6372b2e

@shyamjvs
Copy link
Member

@alexzielenski @logicalhan - can one of you provide the approval?

@alexzielenski
Copy link
Contributor

Unfortunately do not have permissions

/cc @deads2k

@dims
Copy link
Member

dims commented Jun 15, 2023

/assign @logicalhan

@alexzielenski @logicalhan if you cast your /approve I can find folks who have permissions

Copy link
Contributor

@alexzielenski alexzielenski left a comment

Choose a reason for hiding this comment

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

LGTM from a "this is a mechanical renaming" standpoint. I have not looked into the wider context of this issue, though.

This does rename a metric, so would still defer to @logicalhan for approval since he has wide context on that front

Copy link
Member

@logicalhan logicalhan left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@dims
Copy link
Member

dims commented Jun 16, 2023

sig-instrumentation folks are ok, so i am happy to land this metrics change (as mentioned above, this one has not made it into a release, so we are good!)

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cchapla, dims, logicalhan

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 Jun 16, 2023
@k8s-ci-robot k8s-ci-robot merged commit 1ff1a26 into kubernetes:master Jun 16, 2023
12 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.28 milestone Jun 16, 2023
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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. 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. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants