-
Notifications
You must be signed in to change notification settings - Fork 19
vm.counter.discovery[(uuid|name),counter,[interval]]
dav3860 edited this page Jul 8, 2016
·
1 revision
Returns the list of instances of a VMWare Performance Manager counter for an VM.
- The counter name can be found using the method
vm.counter.list[(uuid|name)]
- The interval parameter defines the how much data will be collected (in seconds).
Sample usage :
vm.counter.discovery[VM01,virtualDisk.totalReadLatency.average]
{
"data": [
{
"{#METRICINSTANCE}": "scsi2:2"
},
{
"{#METRICINSTANCE}": "scsi2:1"
},
{
"{#METRICINSTANCE}": "scsi2:0"
},
{
"{#METRICINSTANCE}": "scsi2:6"
},
{
"{#METRICINSTANCE}": "scsi2:5"
},
{
"{#METRICINSTANCE}": "scsi2:4"
},
{
"{#METRICINSTANCE}": "scsi2:3"
}
]
}