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

Cherry-pick #17272 to 7.x: Fix Disk Used and Disk Usage visualizations in the Metricbeat System dashboard #17285

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

narph
Copy link
Contributor

@narph narph commented Mar 27, 2020

Cherry-pick of PR #17272 to 7.x branch. Original message:

What does this PR do?

Rewrites the Metricbeat System Overview and Metricbeat Host Overview dashboards, only updates the Disk Usage and Disk used visualizations.

Why is it important?

Fixes #12435
Detailed explanation here #12435 (comment)
The TSVB will in all visualizations except the time series will only show the value of the last data and not the data of the selected time range. So, if no documents are found in the last bucket, value will be 0. Increasing the bucket interval in order to include at least one meaningful doc will fix the issue.
The 2 visualizations are populated by data from the fsstat metricset which by default has a higher interval, so the visualizations were rarely showing any results.

The visualizations reflect the last value and will search over all the documents selected in the timepicker.

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.

…dashboard (elastic#17272)

* fix

* changelog

(cherry picked from commit ac7aa9d)
@narph narph self-assigned this Mar 27, 2020
@narph narph added [zube]: In Review backport Metricbeat Metricbeat Team:Integrations Label for the Integrations team labels Mar 27, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@narph narph merged commit 1a68a8f into elastic:7.x Mar 27, 2020
@narph narph deleted the backport_17272_7.x branch March 27, 2020 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Metricbeat Metricbeat Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants