ncloud_query_monitoring_data
Query time-series monitoring data from Cloud Insight by product, metric, time range, and dimensions to retrieve metric values for analysis.
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.
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) |