get_top_consumers
Identify top resource consumers by a specified metric to pinpoint capacity hotspots, then drill into their metric history.
Instructions
[READ] Query resources with highest consumption of a given metric. Then call get_resource_metrics on a returned id for its history.
Returns a paginated envelope: items, returned, limit, total (null when the API reports no size), truncated, hint. Check truncated before calling this the complete set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of top consumers to return (max 50). Default 10. | |
| target | No | Aria target name from config; default when omitted. | |
| metric_key | No | Metric to rank by, e.g. cpu|usage_average, mem|usage_average, disk|usage_average. | cpu|usage_average |
| resource_kind | No | Resource kind to scope the query. Default VirtualMachine. | VirtualMachine |