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

Simplify node_draining metric by switching to just in time collection. #153

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

bastjan
Copy link
Contributor

@bastjan bastjan commented Feb 18, 2025

By collecting just in time we don't need to worry about stale metrics due to node deletions. Since the client reads are cached by default this does not add load to the API server.

Review might be easier by just looking at the updated file instead of the diff.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Update tests.

By collecting just in time we don't need to worry about stale metrics due to node deletions.
Since the client reads are cached by default this does not add load to the API server.
@bastjan bastjan added the change label Feb 18, 2025
@bastjan bastjan requested a review from a team as a code owner February 18, 2025 13:04
@bastjan bastjan changed the title Simplify node_draining metric by switch to just in time collection. Simplify node_draining metric by switching to just in time collection. Feb 18, 2025
@bastjan bastjan merged commit f91d279 into master Feb 18, 2025
3 checks passed
@bastjan bastjan deleted the simplify-node-draining-metric branch February 18, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants