Retrieve a list of metric keys from API
book
Article ID: 398759
calendar_today
Updated On: 05-23-2025
Products
VMware Aria Suite
Issue/Introduction
- You need a list of metric keys that can be used for creating a super metric
- You need a list of metric keys to be used in other API calls
Environment
VMware Aria Operations 8.10+
Cause
Metric names in the UI can differ from the metric key to be used with super metrics or APIs
Resolution
- Navigate to Home > Launchpad > Developer Center
- Click API documentation
- Click Authorize
- If a previous authorization is present, click Logout
- Provide credentials with API access and click Authorize then click Close
- Type
statkey
in the search bar
- Expand Adapter Kinds
- Expand GET /api/adapterkinds/{adapterKindKey}/resourcekinds/{resourceKindKey}/statkeys
- Click Try it out
- Fill in adapterKindKey and resourceKindKey
Example: VMWARE and VirtualMachine

- Click Execute
- Review or download the Response Body in the Server Response section
- The value in "key" will be the metric key to be used with super metrics and APIs
- The value in "name" will be how the metric is referenced in the UI
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No