[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-04 UTC。"],[[["\u003cp\u003eDisk metrics allow users to monitor disk performance and identify potential issues, addressing questions about average read IOPS, operation latency, and queue depth.\u003c/p\u003e\n"],["\u003cp\u003eCompute Engine automatically collects Persistent Disk metrics, which can be viewed through Cloud Monitoring, REST API, client libraries, Metrics Query Language (MQL), and PromQL.\u003c/p\u003e\n"],["\u003cp\u003eA range of disk-specific metrics are available, including performance status, average I/O latency, queue depth, read/write bytes, read/write operations, and peak read/write metrics.\u003c/p\u003e\n"],["\u003cp\u003eUsers can visualize disk performance using Metrics Explorer within Cloud Monitoring, allowing them to chart metrics like average latency and filter data by instance and device name.\u003c/p\u003e\n"],["\u003cp\u003eIn addition to monitoring performance metrics, users are also encouraged to review disk optimization guidelines and monitor disk health for comprehensive management.\u003c/p\u003e\n"]]],[],null,["# Review Persistent Disk performance metrics\n\n*** ** * ** ***\n\nYou can use disk metrics to observe your disks' performance and debug\nperformance problems.\n\nDisk metrics can help you answer questions such as the following:\n\n- What's the average read IOPS for a virtual machine (VM) instance's disks?\n- On average, what's the latency for read or write operations?\n- What's the average [queue depth](/compute/docs/disks/optimizing-pd-performance#io-queue-depth) for a specific disk?\n\nReview your disk's metrics to ensure its performance is sufficient for your\nworkload. In addition, you should also do the following:\n\n- Review the disk optimization guidelines. For more information,\n see [Optimize Google Cloud Hyperdisk](/compute/docs/disks/optimize-hyperdisk)\n and [Optimize Persistent Disk](/compute/docs/disks/optimizing-pd-performance).\n\n- Check the disk's health. For detailed information about disk health, see\n [Monitor disk health](/compute/docs/disks/disk-health).\n\nThis document discusses the Persistent Disk metrics Compute Engine automatically collects\nfrom each VM and how to view them in [Cloud Monitoring](/monitoring/docs/monitoring-overview),\nwhich is Google Cloud's monitoring solution.\n\nAvailable Persistent Disk metrics\n---------------------------------\n\nYou can view metrics in Cloud Monitoring, or programmatically retrieve\nPersistent Disk metrics using the [REST API](/monitoring/api), [client libraries](/monitoring/docs/reference/libraries), [Metrics Query Language (MQL)](/monitoring/mql),\nand [PromQL](/monitoring/promql).\n\nThe following table lists the disk-specific metrics available for every disk. You can collect additional metrics\nif you install the [Ops Agent](/monitoring/agent/ops-agent) on your VM.\n\nFor a full list of Compute Engine 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\n^\\*^ The period must be one minute or longer.\n\n\u003cbr /\u003e\n\nVisualize disk performance on a chart\n-------------------------------------\n\nYou can visualize your disk's performance by plotting any of\nthe metrics listed in the preceding section with Metrics Explorer.\nMetrics Explorer is part of Cloud Monitoring.\n\n### Example: Visualize average latency for the disks attached to a VM\n\n\nTo visualize the average\nlatency for a VM's disks on a chart, follow these instructions.\nYou can follow the same procedure for the other\nPersistent Disk 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 `VM Instance` 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 **VM Instance**.\n 2. In the **Active metric categories** menu, select **Instance**.\n 3. In the **Active metrics** menu, select **Disk average latency**.\n 4. Click **Apply**.\n\n The fully qualified name for this metric is `compute.googleapis.com/instance/disk/average_io_latency`.\n4. Configure how the data is viewed. To display only the metrics for each disk attached to a specific instance, follow these steps:\n - In the **Filter** element, click **Add filter** , and then select **instance_name**. For the value, select a specific instance name.\n - In the **Aggregation** entry, set the first menu to **Mean** and the second menu to **device_name**.\n\n For more information about configuring a chart, see\n [Select metrics when using Metrics Explorer.](/monitoring/charts/metrics-selector)\n\nWhat's next\n-----------\n\n- Learn how to [optimize Persistent Disk performance](/compute/docs/disks/optimizing-pd-performance).\n- Learn more about [creating charts with Metric Explorer](/monitoring/charts/metrics-explorer).\n- Learn more about [Cloud Monitoring](/monitoring/docs/monitoring-overview).\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)."]]