Skip to content

✨ allow user to specify metrics #259

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

Closed
wants to merge 1 commit into from

Conversation

mengqiy
Copy link
Member

@mengqiy mengqiy commented Dec 18, 2018

fixes #258

The tests are failing because currently different test cases try to register same metrics in the shared Registry. I will fix tests if we decide to proceed with this approach.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 18, 2018
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 18, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mengqiy
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: directxman12

If they are not already assigned, you can assign the PR to them by writing /assign @directxman12 in a comment when ready.

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

@mengqiy mengqiy removed the request for review from pwittrock December 18, 2018 02:06
@DirectXMan12
Copy link
Contributor

This case made me a bit nervous when we first introduced this. I'm not sure this is the right way to solve it, though...

@DirectXMan12
Copy link
Contributor

/hold

@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 21, 2018
@terinjokes
Copy link
Contributor

@DirectXMan12 @mengqiy Is there something I can help with from a user use-case?

I understand the desire elsewhere to make it really easy to have working metrics, but registering default metrics, even if the user provides their own collectors, makes it extremely difficult to use controller-runtime in a larger project.

@DirectXMan12
Copy link
Contributor

@terinjokes see my comment on #258 for my comments on the buckets. For the default collectors, go runtime metrics, etc we might just want to disable them. Which are you taking about?

@mengqiy
Copy link
Member Author

mengqiy commented Mar 1, 2019

Closing this until we decided how we tackle it.

@mengqiy mengqiy closed this Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

controller histogram buckets configuration
4 participants