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

Fix metrics being cached for removed node-pools #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adidenko
Copy link

Sometimes node pools or instance groups (GKE) are removed or replaced.
But the metrics exporter keeps reporting numbers for those removed node
pools. We need to clear Gauges on every status poll before setting
labels and values to make sure removed node-pools are no longer reported.

Also add some CLI args support.

Sometimes node pools or instance groups (GKE) are removed or replaced.
But the metrics exporter keeps reporting numbers for those removed node
pools. We need to clear Gauges on every status poll before setting
labels and values to make sure removed node-pools are no longer reported.

Also add some CLI args support.
@adidenko adidenko force-pushed the fix_caching_of_removed_instance_groups branch from f34b901 to b575358 Compare August 19, 2022 09:47
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

Successfully merging this pull request may close these issues.

2 participants