Hello,
I am trying to collect some VM performance data from Prism element.
I have noticed that some stats do not keep history for more than 5 minutes.
Example:
controller_io_bandwidth_kBps vs. controller_read/write_io_bandwidth_kBps
GET 'https://{IP}:9440/PrismGateway/services/rest/v1/vms/{vmid}/stats/?metrics=controller_io_bandwidth_kBps&startTimeInUsecs=1589462400000000&intervalInSecs=300'
"statsSpecificResponses": "
{
"successful": true,
"message": null,
"startTimeInUsecs": 1589462400000000,
"intervalInSecs": 300,
"metric": "controller_io_bandwidth_kBps",
"values": o
8106,
5500,
8404,
5618,
12793
]
}
]
}
GET 'https://{IP}:9440/PrismGateway/services/rest/v1/vms/{vmid}/stats/?metrics=controller_read_io_bandwidth_kBps&startTimeInUsecs=1589462400000000&intervalInSecs=300'
{
"statsSpecificResponses": t
{
"successful": true,
"message": null,
"startTimeInUsecs": 1589463510000000,
"intervalInSecs": 300,
"metric": "controller_read_io_bandwidth_kBps",
"values":
2038
]
}
]
}
GET 'https://{IP}:9440/PrismGateway/services/rest/v1/vms/{vmid}/stats/?metrics=controller_write_io_bandwidth_kBps&startTimeInUsecs=1589462400000000&intervalInSecs=300'
{
"statsSpecificResponses": s
{
"successful": true,
"message": null,
"startTimeInUsecs": 1589463540000000,
"intervalInSecs": 300,
"metric": "controller_write_io_bandwidth_kBps",
"values": >
5891
]
}
]
}
I thought I could calculate missing information from:
controller_avg_write_io_size_kbytes x controller_num_write_io
Sadly, “controller_avg_write_io_size_kbytes“ does not keep history either.
Is this intentional?
Regards,
Petr