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 #470

Merged
merged 7 commits into from
Apr 25, 2023

Conversation

bragi92
Copy link
Member

@bragi92 bragi92 commented Apr 21, 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.

Link to OSS community PR fix : kubernetes-monitoring/kubernetes-mixin#840

@bragi92 bragi92 marked this pull request as ready for review April 21, 2023 22:44
@bragi92 bragi92 requested a review from a team as a code owner April 21, 2023 22:44
@github-actions github-actions bot added size/L and removed size/M labels Apr 24, 2023
@github-actions github-actions bot added size/M and removed size/L labels Apr 24, 2023
@bragi92 bragi92 enabled auto-merge (squash) April 24, 2023 22:59
@bragi92 bragi92 merged commit 2eb2a81 into main Apr 25, 2023
@bragi92 bragi92 deleted the kaveesh/fix_windows_rules branch December 20, 2023 18:39
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.

3 participants