vmware / vmware/pyvmomi

vim.PerformanceManager.QuerySpec query mem.active.average

Open
#1,002 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question VMware Staff Assist Needed
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

my code ran this function to query virtual machines performance sample data "mem.active.average" with intervalId=300 ok latestly,
but yesterday this code can not get this sample data without any changes of code.The query result is empty list,why? and intervalId =20 is ok

Reproduction steps

no any special code changes in sample code

Expected behavior

intervalId = 300 query should return sample data, not the empty list

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with vim.PerformanceManager.QuerySpec and reproduce the mem.active.average query using intervalId=300, comparing it with intervalId=20. Determine why the 300-second query returns an empty list and document or implement a correction so it returns the expected performance samples.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.