-
Notifications
You must be signed in to change notification settings - Fork 373
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
Cgroups api refactor for v2 #3096
Merged
Merged
Commits on Mar 15, 2024
-
* Initial changes for log collector cgroups v2 support * Fix pylint issues * Fix pylint issues * Fix pylint issues * Check that both controllers are mounted in the chosen cgroups version for log collector * Fix regex * Update test_agent unit tests * Fix unit tests * Update format strings * Fix broken cgroupconfigurator unit tests * pyling * Fix cgroups api unit tests * Ignore unused args * Ignore unused args * Add cgroup configurator tests * v2 required check in parent cgroup * unit tests is_controller_enabled * Fix test failure and pylint: * pylint * Update agent checks * Fix controller enable logic and unit tests * Remove changes to collect logs * Fix pylint * Add e2e test for v2
Configuration menu - View commit details
-
Copy full SHA for 9501707 - Browse repository at this point
Copy the full SHA 9501707View commit details
Commits on Mar 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bd9caff - Browse repository at this point
Copy the full SHA bd9caffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 689aacc - Browse repository at this point
Copy the full SHA 689aaccView commit details
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f9f5286 - Browse repository at this point
Copy the full SHA f9f5286View commit details
Commits on Mar 26, 2024
-
* get_cgroup_api should raise exception when controllers not mounted * Combine cgroups_supported() check * Combine SystemdCgroupsApi and CGroupApi classes * fix pylint and tests with sudo * Rename SystemdCgroupsApi to SystemdCgroupApi * Cgroup should be singular when referring to the APi * Unimpleneted methods should raise NotImplementederror * Check for cpu,cpuacct * v2 start extension command should not be implemented * log_cgorup_info and log_cgroup_warning should be in cgroupapi * Systemd check should come before api * Explicitly check for empty dict * Only check if controllers are enabled at root for v2 * Remove unnecessary mocked paths in mock cgroup env * V2 does not have concept of mounting controllers * Fix super call for python 2 * get_cgroup_api should be function * Move logging functions up * Use stat -f to get cgroup mode * Mock hybrid path * Fix unit tests: * Debug tests * Debug tests * Debug unit tests * Fix unit tests * Fix pylint * Fix e2e test for v2 * Fix e2e test * Fix e2e test * Fix e2e test * Combine common implementations
Configuration menu - View commit details
-
Copy full SHA for 0802d25 - Browse repository at this point
Copy the full SHA 0802d25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68dd2bd - Browse repository at this point
Copy the full SHA 68dd2bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cabfc70 - Browse repository at this point
Copy the full SHA cabfc70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b9c3e - Browse repository at this point
Copy the full SHA 00b9c3eView commit details
Commits on Apr 2, 2024
-
* Run unit tests * Clean up drop in files if cgroups are disabled * Init values for cgroup apis * Rever test change
Configuration menu - View commit details
-
Copy full SHA for 530ed56 - Browse repository at this point
Copy the full SHA 530ed56View commit details
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3cc51db - Browse repository at this point
Copy the full SHA 3cc51dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81a6926 - Browse repository at this point
Copy the full SHA 81a6926View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bc072e - Browse repository at this point
Copy the full SHA 7bc072eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c3da64 - Browse repository at this point
Copy the full SHA 6c3da64View commit details -
get_cgroup_api raises InvalidCroupMountpointException (#11)
* get_cgroup_api can raise InvalidCgroupMountpointException * Add unit test for agent
Configuration menu - View commit details
-
Copy full SHA for 6b309a6 - Browse repository at this point
Copy the full SHA 6b309a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ca335 - Browse repository at this point
Copy the full SHA 35ca335View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.