監控儲存空間集區使用率是維護集區磁碟資源的必要做法。Compute Engine 可透過Trusted Cloud 控制台的「Monitoring」分頁,概略顯示儲存空間集區指標。這個分頁會使用指標資料提供預先定義的資訊主頁,方便您監控儲存集區,並根據儲存集區佈建的資源做出明智決策。
根據預設,「監控」頁面會顯示磁碟容量、IOPS 和總處理量的下列圖表:
- 已佈建容量、已佈建 IOPS 或已佈建處理量:為儲存空間集區佈建的總量。
- 已用容量、IOPS 或處理量:儲存空間集區中磁碟使用的量。
- 容量使用率、IOPS 使用率或處理量使用率 (%):已使用總量在已佈建總量的占比。
- 已佈建的磁碟總容量、已佈建的磁碟總 IOPS 和已佈建的磁碟總處理量:儲存空間集區中,所有磁碟的已佈建總容量、IOPS 或處理量。
- 過度佈建的容量、IOPS 或總處理量 (%):已佈建磁碟總量在已佈建量的占比。
您也可以自訂預先定義的資訊主頁,只查看所需的特定指標。
事前準備
-
如果尚未設定驗證,請先完成設定。
「驗證」是指驗證身分的程序,確認您有權存取 Trusted Cloud by S3NS 服務和 API。如要從本機開發環境執行程式碼或範例,請選取下列任一選項,向 Compute Engine 進行驗證:
Select the tab for how you plan to use the samples on this page:
Console
When you use the Trusted Cloud console to access Trusted Cloud by S3NS services and APIs, you don't need to set up authentication.
gcloud
-
安裝 Google Cloud CLI,然後 使用同盟身分登入 gcloud CLI。 登入後,執行下列指令初始化 Google Cloud CLI:
gcloud init
- Set a default region and zone.
REST
如要在本機開發環境中使用本頁的 REST API 範例,請使用您提供給 gcloud CLI 的憑證。
安裝 Google Cloud CLI,然後 使用同盟身分登入 gcloud CLI。 登入後,執行下列指令初始化 Google Cloud CLI:
gcloud init
詳情請參閱 Trusted Cloud 驗證說明文件中的「Authenticate for using REST」。
存取儲存空間集區監控頁面
您可以在 Trusted Cloud 控制台中查看監控頁面。
在 Trusted Cloud 控制台,前往「儲存集區」頁面。
按一下儲存集區名稱,開啟「詳細資料」頁面。
按一下「監控」分頁標籤,顯示儲存集區的監控資訊主頁。
選用步驟:如要將預設的一小時時間範圍重設為您想監控的時間範圍,請選擇下列其中一個選項:
- 6 小時
- 1 天
- 1 週
- 1 個月
- 6 週
- 自訂日期或時間範圍
自訂儲存空間集區資訊主頁
請按照下列操作說明,修改儲存集區資訊主頁上顯示的圖表。
- 存取儲存集區的「Monitoring」(監控) 頁面。
如要變更預設圖表,請依序點選「query_stats」query_stats「探索資料」。
系統會開啟「探索」頁面,您可以在這裡建立自訂監控圖表或表格。如要瞭解如何為特定指標建立圖表,請參閱「為單一指標類型繪製圖表」。
建立自訂圖表或表格後,您可以將結果儲存至新的或現有的自訂資訊主頁。
如要進一步瞭解自訂資訊主頁,請參閱「查看及自訂 Trusted Cloud by S3NS 資訊主頁」。
或者,您也可以按一下「更多圖表選項」查看及自訂資訊主頁 Trusted Cloud 」一文中的說明,進一步自訂資訊主頁。
,然後按一下「新增至自訂資訊主頁」,將儲存集區監控圖表新增至自訂資訊主頁。接著,您可以按照「
設定指標的警告
請按照下列操作說明,為儲存集區資訊主頁上顯示的指標資料建立快訊。
- 存取儲存集區的「Monitoring」(監控) 頁面。
- 按一下「建立快訊政策」。 系統隨即會顯示「建立快訊政策」頁面。設定快訊政策的參數。如要瞭解如何設定快訊政策,請參閱建立快訊政策。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-19 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-19 (世界標準時間)。"],[[["\u003cp\u003eCompute Engine's \u003cstrong\u003eMonitoring\u003c/strong\u003e tab in the Google Cloud console provides a dashboard for observing storage pool metrics like provisioned and used capacity, IOPS, and throughput.\u003c/p\u003e\n"],["\u003cp\u003eThe default dashboard displays graphs for provisioned capacity, used capacity, utilization percentages, total disk provisioned resources, and over-provisioning percentages for capacity, IOPS, and throughput.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the predefined dashboard to display specific metrics or create new monitoring charts and tables using the "Explore data" option.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003cstrong\u003eMonitoring\u003c/strong\u003e page allows users to set alerts based on metric data, and it can be accessed by navigating to the \u003cstrong\u003eStorage pools\u003c/strong\u003e page in the Google Cloud console and selecting the \u003cstrong\u003eMonitoring\u003c/strong\u003e tab after selecting a pool.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication using the Google Cloud CLI is needed to run code or use REST API samples from a local development environment, while access through the Google Cloud console does not require authentication setup.\u003c/p\u003e\n"]]],[],null,["*** ** * ** ***\n\nMonitoring storage pool utilization rates is essential to maintaining your\npooled disk resources. Compute Engine offers a high-level view of your\nstorage pool metrics using the **Monitoring** tab in the\nGoogle Cloud console. This tab provides a predefined dashboard using\n[metric data](/compute/docs/disks/review-storage-pool-metrics)\nso you can monitor your storage pools and make informed decisions about\nyour storage pool provisioned resources.\n\nThe **Monitoring** page shows the following graphs for disk capacity, IOPS, and\nthroughput by default:\n\n- Provisioned capacity, Provisioned IOPS, or Provisioned Throughput: the total amount provisioned for the storage pool.\n- Used capacity, IOPS, or throughput: Amount used by disks in the storage pool.\n- Capacity Utilization, IOPS utilization, or Throughput utilization (%): the percentage of the total used amount over the total provisioned amount.\n- Total disk provisioned capacity, Total disk provisioned IOPS, and Total disk provisioned throughput: The total provisioned capacity, IOPS, or throughput of all disks in the storage pool.\n- Capacity over-provisioning, IOPS overprovisioning, or Throughput overprovisioning (%): the percentage of the total disk provisioned amount over the provisioned amount.\n\nYou can also customize the predefined dashboard to view only the specific\nmetrics that you want.\n\n\nBefore you begin\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 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\nAccess the storage pool monitoring page\n\nYou can view the monitoring page in the Google Cloud console.\n\n1. In the Google Cloud console, go to the **Storage pools** page.\n\n [Go to Storage pools](https://console.cloud.google.com/compute/storagePools)\n2. Click the name of a storage pool to open the **Details** page.\n\n3. Click the **Monitoring** tab to display the monitoring dashboard for the\n storage pool.\n\n4. Optional: Reset the one hour default timeframe to the timeframe you want\n to monitor, by choosing one of the following options:\n\n - 6 hours\n - 1 day\n - 1 week\n - 1 month\n - 6 weeks\n - Custom date or time range\n\nCustomize the storage pool dashboard\n\nUse the following instructions to modify the graphs shown on the\nstorage pool dashboard.\n\n1. [Access the storage pool **Monitoring** page](#access).\n2. To change a default graph, click\n query_stats **Explore data**.\n\n This opens an **Explore** page, where you can create a customized monitoring\n chart or table. For information about how to create a chart for\n a specific metric, see\n [Chart a single metric type](/monitoring/charts/metrics-explorer#find-me).\n3. After creating a custom graph or table, you can save the result to a new or\n existing custom dashboard.\n\n For more information about custom dashboards, see\n [View and customize Google Cloud dashboards](/monitoring/charts/predefined-dashboards).\n4. Alternatively, you can click\n more_vert**More chart options** , and\n then **Add to custom dashboard** to add the storage pool monitoring\n charts to a custom dashboard. You can then further customize your dashboard\n using the instructions in [View and customize Google Cloud dashboards](/monitoring/charts/predefined-dashboards).\n\nConfigure alerts for metrics\n\nUse the following instructions to create an alert for the metric data shown on\nthe storage pool dashboard.\n\n1. [Access the storage pool **Monitoring** page](#access).\n2. Click **Create alerting policy** . The **Create alerting policy** page appears. Configure the parameters for the alerting policy. For information about how to configure an alerting policy, see [Create alerting policy](/monitoring/alerts/using-alerting-ui#create-policy)."]] -