Solved

Session based VM Stats for any Particular VM

  • 24 October 2022
  • 5 replies
  • 45 views

Badge

We have a scenario where we want to show session based stats for any particular VM. Using below API we can get the CPU stats for the whole VM.

https://{{cluster_ip}}:{{port}}/PrismGateway/services/rest/v1/vms/{{uuid}}/stats?metrics=hypervisor_cpu_usage_ppm&intervalInSecs=60&startTimeInUsecs=1607965687547284&endTimeInUsecs=1607967487547284

Is there any way or any API that can can give stats bases on machine sessions?

icon

Best answer by JeroenTielen 25 October 2022, 11:34

View original

This topic has been closed for comments

5 replies

Userlevel 6
Badge +8

What do you mean with machine sessions? 

Badge

By machine session, we mean that a VM can be accessed by multiple users at the same time. Therefore, we would want to see what are the VM stats for each user. For example, user A and user B are using a VM using their respective credentials. So, the VM currently has two unique sessions. We want to identify the stats for each session.

Userlevel 6
Badge +8

Got it. That is not in the product. You can use other tools for that. For example Citrix Director if using Citrix CVAD. 

Badge

Thank you for your reply. Can you please pinpoint me to any documentation that I can go through to help find a solution?

Userlevel 6
Badge +8

thankyou for your reply. Can you please pinpoint me to any documentation that I can go through to help find a solution

Not via Nutanix, you need third party tools for that.