[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Introduced1

LatestStatQuery

Object used to request latest stats (metrics) on a collection of resources. Defines search criteria as well as expected data set.


Properties

boolean
currentOnly Optional

Indicates whether to report only “current” stat values, i.e. skip the stat-s that haven’t published any value during recent collection cycles.


integer as int32
maxSamples Optional

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


boolean
metrics Optional

Indicates whether specified statKey-s of query should be forcibly treated as metrics (does not include instanced stats)


array of string as uuid
resourceId Optional

Array of Resource ids for which the latest stats should be fetched


array of string
statKey Optional

Array of stat keys for which the latest stats should be returned


boolean
wrapStatValues Introduced Optional

Indicates whether stat values should be wrapped for application/xml response content type. This flag is false by default and not needed for application/json response. If set to true “statValues” will be returned instead of “values” for all content types.

JSON Example

{
	"currentOnly": false,
	"maxSamples": 0,
	"metrics": false,
	"resourceId": [
		"string"
	],
	"statKey": [
		"string"
	],
	"wrapStatValues": false
}
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Parameter To

Query Latest Stats Of Resources
What's changed in latest?

INTRODUCED (1)

Added Properties
wrapStatValues

Feedback

Was this page helpful?