-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve ClusterCacheTracker to address fundamental limitations #11272
Comments
/area clustercachetracker |
@cahillsf Are you interested in implementing some more metrics? Metrics for clustercache could be really nice. (I didn't think about the format yet, maybe you can take a look and propose something) |
@sbueringer yeah sure 👍 will take a look |
@sbueringer to confirm this would be for the new clustercache introduced in this PR right #11247? |
Yes! The old ClusterCacheTracker will be removed soon |
@sbueringer so for the health check metrics i was thinking:
then for connection metrics we could do something like https://demo.promlabs.com/metrics
wdyt? |
I think I would observe in the switch in the
We only have 1 connection per cluster. So I think a counter with a dimension of cluster_name doesn't make sense.
Maybe we should observe in the Connect / Disconnect methods. Just to be sure we cover all the cases where these are called |
@sbueringer 👋 is there an issue with this defer statement? cluster-api/controllers/clustercache/cluster_accessor.go Lines 260 to 265 in 850efe7
from what i can tell |
I don't see any issue there. We don't have to explicitly set |
ah interesting -- i need to go back to my Go books 😄 . thanks |
Over time the ClusterCacheTracker evolved significantly. While it generally improved we have a few systematic issues that we should solve:
I probably missed a few :)
We also have some additional requirements:
Tasks:
Follow-up Tasks:
Follow-up ideas:
The text was updated successfully, but these errors were encountered: