[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-30。"],[[["\u003cp\u003eHyperdisk Storage Pool usage metrics can be viewed in the Google Cloud console's Storage Pools page or using Cloud Monitoring.\u003c/p\u003e\n"],["\u003cp\u003eStorage pool metrics can be programmatically retrieved and calculated via REST, client libraries, or metrics query languages like MQL and PromQL.\u003c/p\u003e\n"],["\u003cp\u003eMetrics include information on provisioned and used capacity, IOPS, throughput, disk counts, and utilization/overprovisioning rates.\u003c/p\u003e\n"],["\u003cp\u003eMetrics Explorer, a Cloud Monitoring feature, can visualize these metrics on charts for better analysis, and alerts can be configured to trigger based on the storage pool metrics.\u003c/p\u003e\n"],["\u003cp\u003eTo view the storage pool metrics, the user must have the monitoring viewer role, or the monitoring admin role if they wish to alter a metrics scope.\u003c/p\u003e\n"]]],[],null,["# Review Hyperdisk Storage Pool metrics\n\n*** ** * ** ***\n\nYou can view the usage metrics of your Hyperdisk Storage Pool on the\n[**Storage pools** page](https://console.cloud.google.com/compute/storagePools) of\nthe Google Cloud console, or in\n[Cloud Monitoring](/monitoring/docs/monitoring-overview),\nGoogle Cloud's monitoring solution.\n\nYou can programmatically retrieve and calculate storage pool metrics\nusing:\n\n- [REST](/monitoring/api)\n- [Client libraries](/monitoring/docs/reference/libraries)\n- [Metrics Query Language (MQL)](/monitoring/mql) or [PromQL](/monitoring/promql)\n\nThis document discusses the metrics Compute Engine automatically collects\nfor each storage pool and how to view them in Cloud Monitoring.\n\nBefore you begin\n----------------\n\n- If you haven't already, set up [authentication](/compute/docs/authentication). Authentication verifies your identity for access to Google Cloud services and APIs. To run code or samples from a local development environment, you can authenticate to Compute Engine by selecting one of the following options:\n\n Select the tab for how you plan to use the samples on this page: \n\n ### Console\n\n\n When you use the Google Cloud console to access Google Cloud services and\n APIs, you don't need to set up authentication.\n\n ### gcloud\n\n 1.\n [Install](/sdk/docs/install) the Google Cloud CLI.\n\n After installation,\n [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command:\n\n ```bash\n gcloud init\n ```\n\n\n If you're using an external identity provider (IdP), you must first\n [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n | **Note:** If you installed the gcloud CLI previously, make sure you have the latest version by running `gcloud components update`.\n 2. [Set a default region and zone](/compute/docs/gcloud-compute#set_default_zone_and_region_in_your_local_client).\n\n ### REST\n\n\n To use the REST API samples on this page in a local development environment, you use the\n credentials you provide to the gcloud CLI.\n 1. [Install](/sdk/docs/install) the Google Cloud CLI. After installation, [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command: \n\n ```bash\n gcloud init\n ```\n 2. If you're using an external identity provider (IdP), you must first [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n\n\n For more information, see\n [Authenticate for using REST](/docs/authentication/rest)\n in the Google Cloud authentication documentation.\n\n### Required roles and permissions\n\n\nTo get the permissions that\nyou need to view metrics for a storage pool,\n\nask your administrator to grant you the\nfollowing IAM roles on the project:\n\n- [Monitoring Viewer](/iam/docs/roles-permissions/monitoring#monitoring.viewer) (`roles/monitoring.viewer`)\n- To modify a metric's scope, you need the following role for the scoping project and each resource container that you want to add: [Monitoring Admin](/iam/docs/roles-permissions/monitoring#monitoring.admin) (`roles/monitoring.admin`)\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nOverview of Hyperdisk Storage Pool metrics\n------------------------------------------\n\nThe Hyperdisk Storage Pool performance metrics can help you answer questions about your\nstorage pool usage, such as the following:\n\nAvailable storage pool metrics\n------------------------------\n\nThe following table lists the metrics available for Hyperdisk Storage Pools. For a full\nlist of storage pool metrics, see\n[Compute Engine metrics](/monitoring/api/metrics_gcp_c#gcp-compute).\n\nEach metric type in this table must be prefixed with `compute.googleapis.com/`,\nwhich has been omitted from the table for readability. \n\nReview storage pool metrics\n---------------------------\n\nYou can view the metrics for a storage pool on the **Storage pools** page\nin the console, and on the **Monitoring tab** of the\n**Manage storage pool** page for a specific storage pool.\n\n[Go to the Storage pools page](https://console.cloud.google.com/compute/storagePools)\n\nOn the **Storage pools** page, you can view the following for each\nstorage pool:\n\n- Provisioned capacity and the remaining capacity\n- Provisioned IOPS and the remaining IOPS\n- The number of disks in the storage pool\n\nIf you click the name of a storage pool, the **Manage storage pool** page\nopens. There are two tabs on this page. On the **Details** tab you can view the\nfollowing information:\n\n- At the top of the page are tiles that show the provisioned and used capacity, throughput, and IOPS.\n- In the **Storage pool settings** section, there is a table that shows the utilization percentages for capacity, IOPS, and throughput.\n\nVisualize storage pool metrics on a chart\n-----------------------------------------\n\nYou can visualize the storage pool metrics by plotting any of\nthe metrics listed previously with Metrics Explorer.\nMetrics Explorer is part of Cloud Monitoring.\n\n### Example: Visualize storage pool capacity utilization\n\n\nTo visualize the storage pool used capacity on a chart, follow these\ninstructions. You can follow the same procedure for the other\nstorage pool metrics.\n\n\n1. In the Google Cloud console, go to the\n *leaderboard* **Metrics explorer** page:\n\n [Go to **Metrics explorer**](https://console.cloud.google.com/monitoring/metrics-explorer)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. In the toolbar of the Google Cloud console, select your Google Cloud project. For [App Hub](/app-hub/docs/overview) configurations, select the App Hub host project or the app-enabled folder's management project.\n3. In the **Metric** element, expand the **Select a metric** menu, enter `Storage Pool` in the filter bar, and then use the submenus to select a specific resource type and metric:\n 1. In the **Active resources** menu, select **Storage Pool**.\n 2. In the **Active metric categories** menu, select **Storage_pool**.\n 3. In the **Active metrics** menu, select **Used Capacity**.\n 4. Click **Apply**.\n\n The fully qualified name for this metric is `compute.googleapis.com/storage_pool/used_capacity`.\n4. Configure how the data is viewed. To display only the metrics for a specific storage pool, follow these steps:\n - In the **Filter** element, click **Add filter** , and then select **storage_pool_id**. For the value, enter a specific storage pool ID.\n - In the **Aggregation** entry, set the first menu to **Unaggregated** and the second menu to **storage_pool_id**.\n\n For more information about configuring a chart, see\n [Select metrics when using Metrics Explorer.](/monitoring/charts/metrics-selector)\n\nConfigure alerts based on storage pool metrics\n----------------------------------------------\n\nYou can optionally set alerts to trigger when the storage pool hits\ncertain thresholds, when auto-grow activates, or when other events occur. For\nan example of how to configure an alerts based on metrics, see\n[Configure alerts for snapshot schedules](/compute/docs/disks/create-alert-snapshot-schedule).\n\nWhat's next\n-----------\n\n- Monitor your disk's performance by [reviewing disk performance metrics](/compute/docs/disks/review-disk-metrics) and [monitoring disk health](/compute/docs/disks/disk-health).\n- Enable the [Monitoring API](/monitoring/api/enable-api).\n- View all the [available metrics for Compute Engine](/monitoring/api/metrics_gcp_c#gcp-compute).\n- Learn more about [creating charts with Metric Explorer](/monitoring/charts/metrics-explorer).\n- Learn more about [Cloud Monitoring](/monitoring/docs/monitoring-overview).\n- Learn more about [storage pools](/compute/docs/disks/storage-pools)."]]