-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
⚠ Remove metrics with high cardinality #2298
Conversation
/assign @alvaroaleman |
/cherry-pick release-0.14 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-0.14 in a new PR and assign it to you. In response to this:
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. |
@sbueringer: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, sbueringer 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 |
@sbueringer: new pull request created: #2299 In response to this:
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. |
@sbueringer I was just looking around at this. Though this was dropped from the default registration flow, I wonder if it still makes sense to have a mechanism for registering these metrics if you are using controller-runtime. At present, anyone who wants to get these kinds of metrics has to go hunt around for how to do it in the |
@jonathan-innis In general it would be great to have a mechanism for this. Unfortunately, today we have to register these metrics in an So I think if we want to make this configurable in controller-runtime (e.g. via manager options) we have to make changes to the Register func in client-go first |
I could see us just adding the |
This PR basically reverts the metrics introduced in #2217. In practice the cardinality of these metrics is too high when CR is used to communicate with a lot of different clusters (host x verb x histogram). So we shouldn't register them per default.
This PR also drops
RequestLatency
as: