你好,
我正在尝试从棱镜元素收集一些VM性能数据。
我注意到一些统计数据不会超过5分钟。
例子:
Controller_IO_BANDWIDTH_KBPS与Controller_读/写_io_BandWidth_kbps.
获取'https:// {ip}:9440 / prismgateway / services / rest / v1 / vms / {vmid} / stats /?metrics =controller_io_bandwidth_kbps.&starttimeinusecs =1589462400000000&internalinsecs = 300'
“statspecificresponses”:[
{
“成功”:真实,
“消息”:null,
“starttimeinusecs”:1589462400000000那
“internalinsecs”:300,
“公制”:“controller_io_bandwidth_kbps”,
“值”:[
8106,
5500,
8404,
5618,
12793
]
}
]
}
获取'https:// {ip}:9440 / prismgateway / services / rest / v1 / vms / {vmid} / stats /?metrics =controller_read_io_bandwidth_kbps.&starttimeinusecs =1589462400000000&internalinsecs = 300'
{
“statspecificresponses”:[
{
“成功”:真实,
“消息”:null,
“starttimeinusecs”:1589463510000000那
“internalinsecs”:300,
“公制”:“controller_read_io_bandwidth_kbps”,
“值”:[
2038.
]
}
]
}
获取'https:// {ip}:9440 / prismgateway / services / rest / v1 / vms / {vmid} / stats /?metrics =Controller_Write_io_BandWidth_kbps.&starttimeinusecs =1589462400000000&internalinsecs = 300'
{
“statspecificresponses”:[
{
“成功”:真实,
“消息”:null,
“starttimeinusecs”:1589463540000000那
“internalinsecs”:300,
“公制”:“controller_write_io_bandwidth_kbps”,
“值”:[
5891
]
}
]
}
我以为我可以计算缺失的信息:
controller_avg_write_io_size_kbytes x controller_num_write_io.
可悲的是,“controller_avg_write_io_size_kbytes”也不会保留历史记录。
这是故意的吗?
问候,
培养皿