Query Latest Stats Of Resources Using POST
Get the last "maxSamples" stats values for specified one or more Resources
The object which specifies the search criteria
{
"currentOnly": false,
"maxSamples": 0,
"metrics": false,
"resourceId": [
"string"
],
"statKey": [
"string"
]
}
Indicates whether to report only "current" stat values, i.e. skip the stat-s that haven't published any value during recent collection cycles.
The maximum number of samples to return when querying latest stats. Defaults to 1 so that when processing the query if it is omitted the response would contain a single sample
Indicates whether specified statKey-s of query should be forcibly treated as metrics (does not include instanced stats)
Array of Resource ids for which the latest stats should be fetched
Array of stat keys for which the latest stats should be returned
The requested stats
{
"values": [
{
"resourceId": "string",
"stats": {
"stat": [
{
"data": [
"number"
],
"dtTimestamps": [
0
],
"intervalUnit": {
"intervalType": "string",
"quantifier": 0
},
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"maxThresholdData": [
"number"
],
"minThresholdData": [
"number"
],
"rollUpType": "string",
"smoothValues": [
"number"
],
"statKey": {
"key": "string"
},
"timestamps": [
0
],
"values": [
"string"
]
}
]
}
}
]
}
Non of the resources could be found
Error during the query