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

Revert "add componentstatus metrics" #317

Merged
merged 1 commit into from
Jan 5, 2018

Conversation

andyxning
Copy link
Member

@andyxning andyxning commented Dec 15, 2017

This reverts commit 5452f06.

As for now componentstatuses does not support watch method, we can not watch on it. This should fix 219 comment.

ping @zouyee
/cc @brancz


This change is Reviewable

@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 15, 2017
main.go Outdated
@@ -66,7 +65,6 @@ var (
"horizontalpodautoscalers": struct{}{},
}
availableCollectors = map[string]func(registry prometheus.Registerer, kubeClient clientset.Interface, namespace string){
"componentstatuses": collectors.RegisterComponentStatusCollector,
Copy link
Member

Choose a reason for hiding this comment

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

componentstatuses options need to be removed from --collectors

Copy link
Member Author

Choose a reason for hiding this comment

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

@zouyee The default value for --collectors is of defaultCollectors keys which has componentstatuses removed.

@brancz
Copy link
Member

brancz commented Dec 17, 2017

I don't think we have to revert, let's just fix the problem I described in the comment on the original PR.

@brancz brancz merged commit 56a3d45 into kubernetes:master Jan 5, 2018
@brancz
Copy link
Member

brancz commented Jan 5, 2018

You were right, sorry, I didn't quite understand at first.

@andyxning andyxning deleted the revert_add_componentstatus branch January 5, 2018 13:35
while1malloc0 pushed a commit to while1malloc0/kube-state-metrics that referenced this pull request Jul 2, 2018
…status

Revert "add componentstatus metrics"
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. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants