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

vCenter : QueryPerf metrics support #3447

Open
dbhat-arkin opened this issue May 21, 2024 · 0 comments
Open

vCenter : QueryPerf metrics support #3447

dbhat-arkin opened this issue May 21, 2024 · 0 comments

Comments

@dbhat-arkin
Copy link
Contributor

Summary:
Our application (vRNI) collects the Host, Datastore, VM metrics using the vCenter SDK : . But, the GoVcSim instance is not returning the required metrics for Hosts, VMs and Datastore. Request to implement the required methods to export the metrics respective to entities in GoVcSim.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
Earlier vcsim (simulator of which support ended in vSphere 5.5) had support for exporting the VM metrics.

Additional details:
We had enabled the tracelog for the GoVcSim instance. Below are trace log entries:

queryPerf_trace_log.log

Link to QuerPerf: https://vdc-repo.vmware.com/vmwb-repository/dcr-public/6b586ed2-655c-49d9-9029-bc416323cb22/fa0b429a-a695-4c11-b7d2-2cbc284049dc/doc/vim.PerformanceManager.html#queryStats

<_this type="PerformanceManager">PerfMgr</_this><querySpec><entity type="VirtualMachine">vm-1564</entity><startTime xsi:type="xsd:dateTime">2024-05-20T09:40:00.034Z</startTime><endTime xsi:type="xsd:dateTime">2024-05-20T09:51:17.318Z</endTime><metricId><counterId xsi:type="xsd:int">2</counterId><instance></instance></metricId><intervalId>20</intervalId><format>csv</format></querySpec>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant