Get Monitor Metrics (v2.4)
GET/v2.4/api/tenants/:tenant_id/monitor/metrics/:mtype
List details of the monitor metrics.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
mtype stringrequired
The metric type.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
metrics MetricSchema[]
The details of the metrics.
description
The description of the metric schema. Max size = 256.
name string
The name of the metric schema. Max size = 126.
statistics string[]
The metric statistics.
units string[]
The units of the metrics.
{
"metrics": [
{
"name": "string",
"statistics": [
"string"
],
"units": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "METRIC_NOT_SUPPORTED"
}
]
}
}
Loading...