Skip to content

libbeat/cmd/instance/metrics: fix error message#23413

Merged
axw merged 1 commit intoelastic:masterfrom
axw:libbeat_metrics_cgroup_error_message
Jan 11, 2021
Merged

libbeat/cmd/instance/metrics: fix error message#23413
axw merged 1 commit intoelastic:masterfrom
axw:libbeat_metrics_cgroup_error_message

Conversation

@axw
Copy link
Copy Markdown
Member

@axw axw commented Jan 11, 2021

What does this PR do?

Upon failure to retrieve cgroup stats, the log
message should say "error getting cgroup stats"
and not "error getting group status".

Why is it important?

Because the invalid log message is confusing.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
    - [ ] 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.

How to test this PR locally

N/A (trivial change)

Related issues

https://github.com/elastic/beats/pull/21113/files#r554442805

Upon failure to retrieve cgroup stats, the log
message should say "error getting cgroup stats"
and not "error getting group status".
@axw axw added bug Team:Services (Deprecated) Label for the former Integrations-Services team labels Jan 11, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations-services (Team:Services)

@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 Jan 11, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 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

Expand to view the summary

Build stats

  • Build Cause: Pull request #23413 opened

  • Start Time: 2021-01-11T00:37:43.154+0000

  • Duration: 51 min 17 sec

Test stats 🧪

Test Results
Failed 0
Passed 17366
Skipped 1345
Total 18711

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 17366
Skipped 1345
Total 18711

@axw axw merged commit 8e8bfc8 into elastic:master Jan 11, 2021
@axw axw added the v7.12.0 label Jan 11, 2021
axw added a commit to axw/beats that referenced this pull request Jan 11, 2021
Upon failure to retrieve cgroup stats, the log
message should say "error getting cgroup stats"
and not "error getting group status".

(cherry picked from commit 8e8bfc8)
axw added a commit to axw/beats that referenced this pull request Jan 11, 2021
Upon failure to retrieve cgroup stats, the log
message should say "error getting cgroup stats"
and not "error getting group status".

(cherry picked from commit 8e8bfc8)
@axw axw added the v7.11.0 label Jan 11, 2021
axw added a commit that referenced this pull request Jan 13, 2021
Upon failure to retrieve cgroup stats, the log
message should say "error getting cgroup stats"
and not "error getting group status".

(cherry picked from commit 8e8bfc8)
axw added a commit that referenced this pull request Jan 13, 2021
Upon failure to retrieve cgroup stats, the log
message should say "error getting cgroup stats"
and not "error getting group status".

(cherry picked from commit 8e8bfc8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Team:Services (Deprecated) Label for the former Integrations-Services team v7.11.0 v7.12.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants