Get Metrics
This api is deprecated. Please use /metrics/v2 Get metric points for an entity for an entity id and metric for a given time interval. Maximum number of metrics point returned by API is 300. In case the interval and time period combination have more than 300 metrics points, client should break the time period to multiple batches to get all the metrics points. These metric points are the points inside the metric charts (CPU, network rate, etc.)
entity type
metric name
metric points interval
start time for query in epoch seconds
end time for query in epoch seconds
OK
{
"metric": "string",
"display_name": "string",
"interval": 0,
"unit": "string",
"start": 0,
"end": 0,
"pointlist": [
[
{}
]
]
}
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Unauthorized
Internal Error