VsanPerfQuerySpec
This data object specifies the query parameters, including the reference ID to the target entity for statistics retrieval.
For supported entity types, metric groups, metrics:
See VsanPerfQueryPerf
{
"_typeName": "string",
"entityRefId": "string",
"startTime": "string",
"endTime": "string",
"group": "string",
"labels": [
"string"
],
"interval": 0
}
The 'entityRefId' is an entity reference id, which is used to identify the target entity (i.e.
clusters, hosts) you want to query. Here an entity reference id
consists of an entity type and an UUID of the entity. Its format is
<entity-type>:<entity-uuid>. It is possible to pass '*' as the value
for entity-uuid in case one wants to query all entities of a certain type.
For supported entity types:
See VsanPerfQueryPerf
The startTime is the server time from which to obtain counters.
This field must be specified, and the returned samples do not include the sample at startTime.
The endTime is the server time up to which statistics are retrieved.
This field will be replaced by current server time if it is later than current server time. This field must be specified and the returned samples include the sample at endTime.
A type of entity (like hosts) may have metrics with same names (i.e.
IOPS,
Throughput) in different groups/view-points (i.e. DOMClient, DOMCompMgr).
Here the 'group' attribute is used to identify which group of metrics is to
be queried for an entity. If group is not set, a default group will be used.
For supported entity types, metric groups, metrics:
See VsanPerfQueryPerf
The performance metrics (labels) to be retrieved.
The label is also used in VsanPerfMetricId of returned metrics data.
The interval, in seconds, for aggregated performance statistics.
Please ignore this field. It is not used in this version.