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

Make cgroup errors skippable in system/process #134

Merged
merged 8 commits into from
Apr 4, 2024

Conversation

fearful-symmetry
Copy link
Contributor

@fearful-symmetry fearful-symmetry commented Mar 18, 2024

What does this PR do?

This makes it so cgroup-specific errors don't fail an entire PID, so the PID will still be reported even if we have cgroup errors.

Why is it important?

This is a sort of band-aid for #132, as I'm not sure how long a "proper" fix for that will take, as it might require significant changes to the cgroup client, as well as a considerable degree of testing.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.md

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@fearful-symmetry fearful-symmetry added the bug Something isn't working label Mar 18, 2024
@fearful-symmetry fearful-symmetry self-assigned this Mar 18, 2024
@fearful-symmetry fearful-symmetry requested a review from a team as a code owner March 18, 2024 18:00
@fearful-symmetry fearful-symmetry requested review from ycombinator and leehinman and removed request for a team March 18, 2024 18:00
@pierrehilbert pierrehilbert added the Team:Elastic-Agent Label for the Agent team label Mar 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional testing improvement

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM, one little suggestion on changelog

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Co-authored-by: Lee E Hinman <57081003+leehinman@users.noreply.github.com>
@fearful-symmetry fearful-symmetry merged commit 3fe5097 into elastic:main Apr 4, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants