Get Metrics Data
Get time series data points for a given resource type and resource identifiers.
Metrics data request body, contains list of NSX Resource Intent Paths or UUIDS (for NSX objects without intents), resource type, time interval etc.
{
"granularity": "string",
"start_time": 0,
"end_time": 0,
"resource_type": "string",
"resource_ids": [
"string"
],
"aggregate_resource_ids": false,
"aggregate_operation": "string",
"max_num_data_points": 0,
"keys": [
"string"
],
"object_ids": [
"string"
],
"node_ids": [
"string"
],
"empty_value_config": {
"technique": "string"
}
}
OK
"MetricsDataResponse Object"
Epoch time in seconds. Actual start time of the data being reported
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.
Resource Type for which metric data was requested for. E.g. PolicyEdgeNode
Collection of per resource metric results
Invalid Input
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"keys":["string"],"resource_type:"string","resource_ids":["string"]}' https://{api_host}/napp/api/v1/metrics/data