list_metric_keys
Look up valid metric keys for a specific resource or resource kind before querying metrics, preventing errors from guessed keys. Supports pagination and filtering.
Instructions
[READ] Look up metric keys before get_resource_metrics or get_top_consumers; do not guess (cpu|demand_average does not exist on VMs).
resource_id: keys that resource reports, with name/unit from its kind; definition is found, found_by_instance, not_defined_for_kind (see unjoined_keys) or not_read (definitions_status undetermined: name/unit unknown, not absent). resource_kind: keys the kind defines, not all collected.
Paginated envelope with next_offset: pass it back as offset until null. An unreadable key list is an error, never empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1-500 (default 100). | |
| offset | No | Rows to skip; the previous next_offset. | |
| target | No | Aria target name from config; default when omitted. | |
| key_filter | No | Case-insensitive substring of key or name, e.g. "mem|". | |
| resource_id | No | Resource UUID (from list_resources). This or resource_kind, not both. | |
| adapter_kind | No | Adapter kind for resource_kind. Default VMWARE. | VMWARE |
| resource_kind | No | Kind key, e.g. VirtualMachine, HostSystem, Datastore. |