ncloud_query_monitoring_data
Queries Cloud Insight time-series metric data for a specific product, metric, and resource dimensions over a time range, with configurable interval and aggregation.
Instructions
Query time-series monitoring data from Cloud Insight. Returns metric data for a specific product and metric. The aggregation must match one configured in the product schema.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cw_key": "<cw_key>",
"metric": "<metric>",
"timeStart": "<timeStart>",
"timeEnd": "<timeEnd>",
"dimensions": "<dimensions>"
},
"name": "ncloud_query_monitoring_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cw_key | Yes | Product key (cw_key) identifying the service (see Cloud Insight metrics) | |
| metric | Yes | Metric name to query (e.g., "avg_cpu_used_rto", "mem_usert") | |
| timeEnd | Yes | End time in Unix epoch milliseconds | |
| interval | No | Aggregation interval (default: Min1) | |
| timeStart | Yes | Start time in Unix epoch milliseconds | |
| dimensions | Yes | Dimensions identifying the resource as key-value pairs (required, e.g., {"instanceNo": "12345"}) | |
| aggregation | No | Aggregation type (default: AVG) | |
| productName | No | Product name (e.g., "System/Server(VPC)") | |
| queryAggregation | No | How to aggregate query results when the query interval is coarser than stored data (default: AVG) |