list_metrics
Retrieve available metrics in an Oracle Cloud Infrastructure compartment to monitor and analyze resource performance, with optional namespace filtering for targeted insights.
Instructions
List available metrics in a compartment.
Args:
compartment_id: OCID of the compartment
namespace: Optional namespace to filter metrics (e.g., oci_computeagent, oci_blockstore)
Returns:
List of available metrics with their namespaces and dimensions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| namespace | No |