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
k8s,metrics: Remove double k8s event accounting #26349
k8s,metrics: Remove double k8s event accounting #26349
Conversation
Converting to draft, something did not quite go right, for some reasons this commit contains unrelated changes |
3605fed
to
aa5fd4f
Compare
Resolved 😅 🙏 |
Go lint says there is an unused function:
|
aa5fd4f
to
620f8bb
Compare
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.
Is this a regression? If yes, can you add a "Fixes:" tag?
/test |
I introduced the bug myself in #26269, Jussi cought it like 2 seconds after the thing was merged, so I just made the fix without going through the process of making an issue |
Resources increment the k8s event metrics themselves now. This causes duplicate metric accounting for k8s watchers that have been implemented in terms of resources and also do metrics tracking. This commit removes the metrics tracking done by k8s watchers that are implemented with resources. Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
620f8bb
to
04808f4
Compare
/test |
Resources increment the k8s event metrics themselves now. This causes duplicate metric accounting for k8s watchers that have been implemented in terms of resources and also do metrics tracking.
This PR removes the metrics tracking done by k8s watchers that are implemented with resources.