get_metric_data_for_host
Retrieve metric timeslices for a specific host using REST v2 queries. Input application ID, host ID, and metric names to analyze performance data within a defined time range.
Instructions
Get metric timeslices for metrics on a host (REST v2).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
application_id | Yes | ||
auto_paginate | No | ||
from | No | ||
host_id | Yes | ||
names | Yes | ||
page | No | ||
period | No | ||
region | No | ||
summarize | No | ||
to | No | ||
values | No |
Input Schema (JSON Schema)
{
"properties": {
"application_id": {
"type": "number"
},
"auto_paginate": {
"type": "boolean"
},
"from": {
"type": "string"
},
"host_id": {
"type": "number"
},
"names": {
"items": {
"type": "string"
},
"type": "array"
},
"page": {
"type": "number"
},
"period": {
"type": "number"
},
"region": {
"enum": [
"US",
"EU"
],
"type": "string"
},
"summarize": {
"type": "boolean"
},
"to": {
"type": "string"
},
"values": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"application_id",
"host_id",
"names"
],
"type": "object"
}