Fetch Bulk Metrics
This api is deprecated. Please use /metrics/fetch/v2. Get metric points for multiple entity ids and metric for a given time interval. All the entity ids should belong to the same entity type. Maximum number of metrics point per entity returned by API is configurable. Default 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.
{
"entity_ids": [
"string"
],
"start_time": 0,
"end_time": 0,
"interval": 0,
"metric": "string"
}
Entity Identifiers
start_time
end_time
Metric resolution
Metric to fetch
OK
{
"metric": "string",
"interval": 0,
"start": 0,
"end": 0,
"display_name": "string",
"unit": "string",
"results": [
{
"pointlist": [
[
{}
]
],
"entity_id": "string"
}
]
}
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Unauthorized
Internal Error