Skip to content

Cherry-pick #22237 to 7.10: [Metricbeat] Remove io.time from windows#22314

Merged
fearful-symmetry merged 2 commits intoelastic:7.10from
fearful-symmetry:backport_22237_7.10
Oct 30, 2020
Merged

Cherry-pick #22237 to 7.10: [Metricbeat] Remove io.time from windows#22314
fearful-symmetry merged 2 commits intoelastic:7.10from
fearful-symmetry:backport_22237_7.10

Conversation

@fearful-symmetry
Copy link
Copy Markdown
Contributor

@fearful-symmetry fearful-symmetry commented Oct 30, 2020

Cherry-pick of PR #22237 to 7.10 branch. Original message:

What does this PR do?

It looks like diskio.io.time is a unix-only field that reports an incorrect zero. We accidentally marked it as "no incorrect zero" on our massive spreadsheet of metrics inventory, so it was overlooked until now.

Why is it important?

We don't want to report "incorrect zero" metrics.

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

  • Pull and build on a Windows machine
  • Run the diskio metricset and insure that diskio.io.time is not reported.
  • Pull and build on linux, insure that diskio.io.time is reported.

Related issues

* remove io.time from windows

* fix tests

* add changelog entry

(cherry picked from commit 77882fc)
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 30, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 30, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Oct 30, 2020

💚 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 #22314 updated]

  • Start Time: 2020-10-30T14:37:45.985+0000

  • Duration: 103 min 47 sec

Test stats 🧪

Test Results
Failed 0
Passed 2239
Skipped 505
Total 2744

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 2239
Skipped 505
Total 2744

@fearful-symmetry fearful-symmetry requested a review from a team October 30, 2020 16:24
@fearful-symmetry fearful-symmetry merged commit e4ee8f4 into elastic:7.10 Oct 30, 2020
@zube zube bot removed the [zube]: Done label Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants