Get Metrics Data
DescriptionGet time series data points for a given resource type and resource identifiers.
Request
URLURL
Request Body
Metrics data request body, contains list of NSX Resource Intent Paths or UUIDS (for NSX objects without intents), resource type, time interval etc.
Authentication
Response
Response BodyResponse Body
200 OK
{
"end_time": 0,
"granularity": "FIVE_MINUTES",
"resource_type": "string",
"results": [
{
"key_results": [
{
"description": "string",
"key": "string",
"results": [
{
"data": [
{
"time": 0,
"value": "string"
}
],
"node_id": "string",
"node_name": "string",
"node_path": "string",
"object_id": "string"
}
],
"unit": "METRIC_COUNT"
}
],
"resource_id": "string",
"resource_ref_id": "string"
}
],
"start_time": 0
}
Epoch time in seconds. Actual end time of the data being reported
Enumeration of different granular data points supported by the system. Metrics data points are maintained at 5Mins, 1Hour and 1Day granularities.
Possible values are: FIVE_MINUTES , ONE_HOUR , ONE_DAY
Resource Type for which metric data was requested for. E.g. PolicyEdgeNode
Epoch time in seconds. Actual start time of the data being reported
Errors
Invalid Input