Hello,
I’m trying to get the overall internal memory from several different VMs. I know i can do a call like "///suite-api/api/resources/{id}/stats/latest?statKey=statkey here" but I’m not sure which statkey I have to use. I know I can request all statKeys from a specific resource "///via suite-api/api/resources/{id}/stats", but that doesn't help me very much. Can you somehow get another overview, which actually describes the statkeys?
Regarding the example above (Overall internal memory), I found the statKey "mem-alloc|object.demand" but it gives me some weird value. This leads to my second question. In what unit does the API return it values (MB, Kb ...)?
Thanks for your help and plz don't mind my bad English
Greetings Matteo
Sorry no...There is a PDF, but its incomplete and doesnt have the API keys in there, so you have to deduct which keys you need.
Best way is to find the metric you need in the GUI and then find the same object and call this URL:
https://vRops/suite-api/api/resources/{ID}/stats/latest
Sorry no...There is a PDF, but its incomplete and doesnt have the API keys in there, so you have to deduct which keys you need.
Best way is to find the metric you need in the GUI and then find the same object and call this URL:
https://vRops/suite-api/api/resources/{ID}/stats/latest
Thank you for your answer. I already knew the URL but the PDF helped me a little bit.
Greetings