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: update windows recording rules to remove duplicate entries for non running containers #840

Merged
merged 1 commit into from
May 3, 2023

Conversation

bragi92
Copy link
Contributor

@bragi92 bragi92 commented Apr 24, 2023

For e.g. The following query returned a many to many matching error:
image

because there where multiple containers within the pod stuck in initizaling state and thus did not have container_id's set:
image

Hence our recording rule for them would fail. This fix eliminates those containers which are not running at all as there is no point in getting the cpu/memory usage for them.

@bragi92
Copy link
Contributor Author

bragi92 commented Apr 25, 2023

@arajkumar , @povilasv Please let me know if this fix looks good to you for merge.

@bragi92
Copy link
Contributor Author

bragi92 commented Apr 27, 2023

@arajkumar , @povilasv Let me know if you could help with merging this PR.

@povilasv
Copy link
Contributor

povilasv commented May 3, 2023

LGTM

@povilasv povilasv merged commit d87b757 into kubernetes-monitoring:master May 3, 2023
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.

None yet

5 participants