-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
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, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
I don't think we have to revert, let's just fix the problem I described in the comment on the original PR. |
1f2df63
to
c797923
Compare
You were right, sorry, I didn't quite understand at first. |
…status Revert "add componentstatus metrics"
This reverts commit 5452f06.
As for now
componentstatuses
does not supportwatch
method, we can not watch on it. This should fix 219 comment.ping @zouyee
/cc @brancz
This change is