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

[O11y][Vsphere] Migrate VMs Overview dashboard visualizations to lens in kibana 8.7.0 #5811

Conversation

rajvi-patel-22
Copy link
Contributor

@rajvi-patel-22 rajvi-patel-22 commented Apr 6, 2023

  • Enhancement

What does this PR do?

  • Migrate visualizations to lens for Vsphere integration package

  • Statistics for Vsphere VMs Overview Lens migration:

VSphere dashboard Before Migration   After Migration  
  Lens Visualization Lens Visualization
[Metrics VSphere] VMs overview 0 5 5 0
  0 5 5 0

Checklist

  • I have added an entry to my package's changelog.yml file.
  • I have verified that panels are populated with data.
  • I have verified that panels are not distorted after being migrated to lens.
  • I have updated screenshots of dashboard.
  • I have verified that data count are matching and panel aggregations are same as before.

Author's Checklist

  • Migrated panels should be removed from visualization folder.
  • Migrated visualizations are populating in current Kibana version 8.7.0 itself.

Related issues

Note: Screenshot of before migration dashboard is not synced with Kibana files. Please find below screenshot to compare the migrated visualizations.

Metrics VSphere  VMs overview (1)

@rajvi-patel-22 rajvi-patel-22 requested a review from a team as a code owner April 6, 2023 12:04
@rajvi-patel-22 rajvi-patel-22 changed the title Migrate VMs Overview dashboard visualizations to lens [O11y][Vsphere] Migrate VMs Overview dashboard visualizations to lens in kibana 8.7.0 Apr 6, 2023
@kush-elastic kush-elastic added enhancement New feature or request Integration:vSphere v8.7.0 Team:Service-Integrations Label for the Service Integrations team labels Apr 6, 2023
@elasticmachine
Copy link

elasticmachine commented Apr 6, 2023

💚 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: 2023-04-10T05:43:42.157+0000

  • Duration: 17 min 12 sec

Test stats 🧪

Test Results
Failed 0
Passed 17
Skipped 0
Total 17

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commented Apr 6, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (1/1) 💚
Classes 100.0% (1/1) 💚
Methods 100.0% (18/18) 💚
Lines 89.13% (41/46) 👍
Conditionals 100.0% (0/0) 💚

Copy link
Contributor

@agithomas agithomas left a comment

Choose a reason for hiding this comment

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

  1. The Memory value is represented in Human readable format in Old vis but not in New Vis.
    Can this be addressed. If not, i would recommend keeping the old vis
  2. What is the default sort order followed in the table?

@rajvi-patel-22
Copy link
Contributor Author

  1. The Memory value is represented in Human readable format in Old vis but not in New Vis.
    Can this be addressed. If not, i would recommend keeping the old vis
  2. What is the default sort order followed in the table?

@agithomas ,

  1. I have mentioned in the PR description that Kibana files and dashboards are not synced and also uploaded the before migration screenshot. In that the Memory value is not represented in Human readable format.
  2. Sorting orders are as below:
  • Name: Descending order by count
    image
  • Used CPU: Descending order by Maximum of vsphere.virtualmachine.cpu.used.mhz
    image
  • Total RAM: Descending order by Maximum of vsphere.virtualmachine.memory.total.guest.bytes
    image
  • Networks: Descending order by count
    image

@agithomas
Copy link
Contributor

Is it possible to make the changes in the new layout, so that it appears more human readable (representing in MB/ GB) ?

@rajvi-patel-22
Copy link
Contributor Author

Is it possible to make the changes in the new layout, so that it appears more human readable (representing in MB/ GB) ?

Yes @agithomas, It is possible. I'll update the PR.

@rajvi-patel-22
Copy link
Contributor Author

Is it possible to make the changes in the new layout, so that it appears more human readable (representing in MB/ GB) ?

@agithomas, I have updated the PR with mentioned changes.

Copy link
Contributor

@agithomas agithomas left a comment

Choose a reason for hiding this comment

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

LGTM!

@kush-elastic kush-elastic merged commit d9eecf9 into elastic:main Apr 10, 2023
3 checks passed
@elasticmachine
Copy link

Package vsphere - 1.5.0 containing this change is available at https://epr.elastic.co/search?package=vsphere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:vSphere Team:Service-Integrations Label for the Service Integrations team v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants