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

RequestResult metric is registered by controller-runtime #1390

Open
kandulaganesh opened this issue Nov 19, 2024 · 0 comments
Open

RequestResult metric is registered by controller-runtime #1390

kandulaganesh opened this issue Nov 19, 2024 · 0 comments

Comments

@kandulaganesh
Copy link

We want to utilize the RequestResult metric in our setup.

Ideally, we would register our own metric by invoking Register(...) as described in client-go's metrics code. This would allow client-go to invoke our custom implementation, enabling us to raise the RequestResult metric.

However, we noticed that controller-runtime already registers RequestResult via this implementation, which means we cannot directly register our own metric.

Could you provide guidance on how we can capture or hook into the RequestResult metric under these circumstances? Any suggestions or workarounds would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant