-
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
The reflector metrics is empty. #817
Comments
I may be missing something. But as I see it, the Based on my reading of https://book.kubebuilder.io/reference/metrics.html I would think that you would get reflector metrics for free without having to take extra steps. |
/kind bug |
/help needs a little bit of investigation |
@vincepri: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed 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. |
Could it be because reflector metrics have been removed from Kubernetes: kubernetes/kubernetes#74636 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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. |
In client_go_adapter.go, restclient and reflector metrics are registered as the following:
When I import this go package, there are restclient metrics, but there is no reflector metric.
I have checked the client-go repo and found seem no one calls metricsFactory.
My question is that does reflector enable by default or it need some extra steps to enble?
https://github.com/kubernetes/client-go/blob/f772958f8a2941ad60a4bf5fb13da0acee7b2d76/tools/cache/reflector_metrics.go#L77-L89
The text was updated successfully, but these errors were encountered: