-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
Fix a bug with exposing prometheus client metrics in multiple components #53434
Fix a bug with exposing prometheus client metrics in multiple components #53434
Conversation
Signed-off-by: Mik Vyatskov <[email protected]>
/lgtm It affects components other than the kube-apiserver. Could you check who else imports the prometheus initialization package? |
What to do next? |
I'm trying to say this is fixing a bug that affects all the components listed in the "grep" result. Could you update the release note to say something like "fix a bug that hides client-go metrics"? |
Oh, now I see what you mean! Got confused, sorry |
@caesarxuchao Done, thanks for noticing! PTAL |
Still lgtm. Thanks. I'm surprised that we didn't have a bug report earlier. |
/assign @thockin for approval. |
/approve no-issue |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: caesarxuchao, crassirostris, thockin Associated issue requirement bypassed by: thockin The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
…-#53434-upstream-release-1.8 Automatic merge from submit-queue. Automated cherry pick of #53434 Cherry pick of #53434 on release-1.8. #53434: Enable prometheus client metrics in apiserver ```releate-note Fix a bug that prevents client-go metrics from being registered in prometheus in multiple components. ```
Commit found in the "release-1.8" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
I think this is a bug caused by splitting the repos: prometheus metrics are registered in a module that initialized metrics client-go never uses.