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 loop in filesystemn reporting and debug statement in fsstat #33646

Merged
merged 3 commits into from
Nov 10, 2022

Conversation

fearful-symmetry
Copy link
Contributor

@fearful-symmetry fearful-symmetry commented Nov 10, 2022

What does this PR do?

This fixes two bugs:

  • the system.filesystem metricset will hard-fail if it encounters a filesystem it can't fetch stats for, instead of merely skipping the given filesystem
  • system.fsstat had a bad logging statement.

Why is it important?

These are both bugs.

Checklist

  • My code follows the style guidelines of this project
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@fearful-symmetry fearful-symmetry added bug Team:Elastic-Agent Label for the Agent team v8.6.0 backport-v8.5.0 Automated backport with mergify labels Nov 10, 2022
@fearful-symmetry fearful-symmetry requested a review from a team as a code owner November 10, 2022 19:37
@fearful-symmetry fearful-symmetry self-assigned this Nov 10, 2022
@fearful-symmetry fearful-symmetry requested review from rdner and cmacknz and removed request for a team November 10, 2022 19:37
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 10, 2022
@cmacknz
Copy link
Member

cmacknz commented Nov 10, 2022

Needs a changelog entry

@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 10, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-11-10T20:12:37.805+0000

  • Duration: 47 min 57 sec

Test stats 🧪

Test Results
Failed 0
Passed 3891
Skipped 889
Total 4780

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Co-authored-by: Craig MacKenzie <[email protected]>
@fearful-symmetry fearful-symmetry merged commit a56c4f7 into elastic:main Nov 10, 2022
mergify bot pushed a commit that referenced this pull request Nov 10, 2022
* fix loop in filesystem and debug loop in fsstat

* add changelog

* Update CHANGELOG.next.asciidoc

Co-authored-by: Craig MacKenzie <[email protected]>

Co-authored-by: Craig MacKenzie <[email protected]>
(cherry picked from commit a56c4f7)
fearful-symmetry added a commit that referenced this pull request Nov 14, 2022
…) (#33648)

* fix loop in filesystem and debug loop in fsstat

* add changelog

* Update CHANGELOG.next.asciidoc

Co-authored-by: Craig MacKenzie <[email protected]>

Co-authored-by: Craig MacKenzie <[email protected]>
(cherry picked from commit a56c4f7)

Co-authored-by: Alex K <[email protected]>
chrisberkhout pushed a commit that referenced this pull request Jun 1, 2023
* fix loop in filesystem and debug loop in fsstat

* add changelog

* Update CHANGELOG.next.asciidoc

Co-authored-by: Craig MacKenzie <[email protected]>

Co-authored-by: Craig MacKenzie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v8.5.0 Automated backport with mergify bug Team:Elastic-Agent Label for the Agent team v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants