Skip to content

ui: vm metrics note about behaviour across hypervisors#9399

Merged
yadvr merged 1 commit intoapache:4.19from
shapeblue:ui-note-vmstats-hypnote
Jul 29, 2024
Merged

ui: vm metrics note about behaviour across hypervisors#9399
yadvr merged 1 commit intoapache:4.19from
shapeblue:ui-note-vmstats-hypnote

Conversation

@shwstppr
Copy link
Copy Markdown
Contributor

Description

The metrics for VMs and VM disks in CloudStack depend on the hypervisor plugin used for each hypervisor. The behavior can vary across different hypervisors. For VMware, metrics are retrieved as average value for the time interval defined in the global configuration - vmware.stats.time.window.

Related documentation PR: apache/cloudstack-documentation#413

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

image

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@shwstppr shwstppr changed the base branch from main to 4.19 July 16, 2024 06:34
The metrics for VMs and VM disks in CloudStack depend on the hypervisor plugin used for each hypervisor. The behavior can vary across different hypervisors. For VMware, metrics are retrieved as average value for the time interval defined in the global configuration - vmware.stats.time.window.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr shwstppr force-pushed the ui-note-vmstats-hypnote branch from a0569c9 to 4e47257 Compare July 16, 2024 06:34
@shwstppr
Copy link
Copy Markdown
Contributor Author

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.07%. Comparing base (a53365d) to head (4e47257).

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #9399      +/-   ##
============================================
- Coverage     15.08%   15.07%   -0.01%     
+ Complexity    11173    11168       -5     
============================================
  Files          5405     5405              
  Lines        472677   472677              
  Branches      59070    57814    -1256     
============================================
- Hits          71280    71279       -1     
- Misses       393467   393468       +1     
  Partials       7930     7930              
Flag Coverage Δ
uitests 4.27% <ø> (ø)
unittests 15.79% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9399 (QA-JID-404)

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm

@yadvr yadvr added this to the 4.19.2.0 milestone Jul 16, 2024
@yadvr yadvr requested review from andrijapanicsb and nvazquez July 16, 2024 12:17
Copy link
Copy Markdown
Contributor

@nvazquez nvazquez left a comment

Choose a reason for hiding this comment

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

LGTM - minor enhancement request: could it be possible to link the docInfo on the title?

@shwstppr
Copy link
Copy Markdown
Contributor Author

@nvazquez I've not added docs link as the same view is used for normal users as well while the documentation talks about the global config. Also, the bigger reason I couldn't find a way to use the link in a way that link suffix can be changed by config.json like other doc links in the UI

@shwstppr shwstppr marked this pull request as ready for review July 22, 2024 06:46
@nvazquez
Copy link
Copy Markdown
Contributor

@shwstppr no problem, LGTM

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jul 29, 2024

UI only change, LGTM.

@yadvr yadvr merged commit d606ee7 into apache:4.19 Jul 29, 2024
@yadvr yadvr deleted the ui-note-vmstats-hypnote branch July 29, 2024 05:22
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Aug 22, 2024
The metrics for VMs and VM disks in CloudStack depend on the hypervisor plugin used for each hypervisor. The behavior can vary across different hypervisors. For VMware, metrics are retrieved as average value for the time interval defined in the global configuration - vmware.stats.time.window.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants