Get Resource Metric Meta Data

Get Resource Metric Meta Data

Get information like description, unit, value_type, metric_type about the metric keys available for a resource type.

Request
URI
GET
https://api_host/napp/api/v1/metrics/key-info
COPY
Query Parameters
string
resource_type
Required

Resource Type for which metric keys and their information is requested for. Supported NSX resource types are PolicyEdgeNode, ClusterNode, Tier0Interface, Tier1Interface, Tier0, Tier1. Supported NAPP (NSX Kubernetes Application Platform) resource types are Napp (Kubernetes cluster level) and NappNode (Kubernetes worker level).


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MetricsMetadataInfoList of type(s) application/json
{
    "results": [
        {
            "description": "string",
            "key": "string",
            "unit": "string",
            "aggregate_by_resource_ids": false,
            "value_type": "string"
        }
    ]
}
results
Optional

Results array where each entry in the array is of type MetricKeyMetadataInfo.


400

Invalid Input was provided to this request. Please ensure resource_type is provided and is a valid value. Supported NSX resource types are PolicyEdgeNode, ClusterNode, Tier0Interface, Tier1Interface, Tier0, Tier1. Supported NAPP (NSX Kubernetes Application Platform) resource types are Napp (Kubernetes cluster level) and NappNode (Kubernetes worker level).

Operation doesn't return any data structure