Query Metric Metadata
Returns metadata about metrics currently scraped from targets.
Metric name.
Maximum number of returned series. Doesn't affect scalars or strings but truncates the number of series for matrices and vectors. If not set, default limit is applied.
100
The source identifier to query data for, such as a vCenter instance UUID or NSX ID.
OK.
{
"status": "string",
"data": {},
"pageInfo": {
"nextPageToken": "eyJuYW1lIjoiY3B1LnVzYWdlIiwidGltZXN0YW1wIjoxNjAwMDAwMDAwfQ==",
"pageSize": 50
},
"errorType": "string",
"error": "string",
"warnings": [
"string"
],
"infos": [
"string"
]
}
API execution status.
Loose object reference for circumventing OpenAPI Generator's oneOf() problem for client SDK
Pagination metadata for paginated responses.
Type of an error. This field is set only if status is "error". The data field may still hold additional data.
Error message returned when the query fails. This field is set only if status is "error". The data field may still hold additional data.
Warnings generated during API execution. This field is set only if there were warnings while executing the request. The data field will still hold additional data.
Info generated during API execution. This field is set only if there were info-level messages while executing the request.
Bad request.
Unauthorized.
Forbidden.
Service Unavailable.
curl -H 'Authorization: <value>' https://{api_host}/api/v1/metadata