Monitoring storage pool utilization rates is essential to maintaining your pooled disk resources. Compute Engine offers a high-level view of your storage pool metrics using the Monitoring tab in the Google Cloud console. This tab provides a predefined dashboard using metric data so you can monitor your storage pools and make informed decisions about your storage pool provisioned resources.
The Monitoring page shows the following graphs for disk capacity, IOPS, and throughput by default:
- Provisioned capacity, Provisioned IOPS, or Provisioned Throughput: the total amount provisioned for the storage pool.
- Used capacity, IOPS, or throughput: Amount used by disks in the storage pool.
- Capacity Utilization, IOPS utilization, or Throughput utilization (%): the percentage of the total used amount over the total provisioned amount.
- 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.
- Capacity over-provisioning, IOPS overprovisioning, or Throughput overprovisioning (%): the percentage of the total disk provisioned amount over the provisioned amount.
You can also customize the predefined dashboard to view only the specific metrics that you want.
Before you begin
-
If you haven't already, then set up authentication.
Authentication is
the process by which your identity is verified 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:
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.
gcloud
-
Install the Google Cloud CLI, then initialize it by running the following command:
gcloud init
- Set a default region and zone.
REST
To use the REST API samples on this page in a local development environment, you use the credentials you provide to the gcloud CLI.
Install the Google Cloud CLI, then initialize it by running the following command:
gcloud init
For more information, see Authenticate for using REST in the Google Cloud authentication documentation.
-
Access the storage pool monitoring page
You can view the monitoring page in the Google Cloud console.
In the Google Cloud console, go to the Storage pools page.
Click the name of a storage pool to open the Details page.
Click the Monitoring tab to display the monitoring dashboard for the storage pool.
Optional: Reset the one hour default timeframe to the timeframe you want to monitor, by choosing one of the following options:
- 6 hours
- 1 day
- 1 week
- 1 month
- 6 weeks
- Custom date or time range
Customize the storage pool dashboard
Use the following instructions to modify the graphs shown on the storage pool dashboard.
- Access the storage pool Monitoring page.
To change a default graph, click query_stats Explore data.
This opens an Explore page, where you can create a customized monitoring chart or table. For information about how to create a chart for a specific metric, see Chart a single metric type.
After creating a custom graph or table, you can save the result to a new or existing custom dashboard.
For more information about custom dashboards, see View and customize Google Cloud dashboards.
Alternatively, you can click View and customize Google Cloud dashboards.
More chart options, and then Add to custom dashboard to add the storage pool monitoring charts to a custom dashboard. You can then further customize your dashboard using the instructions in
Configure alerts for metrics
Use the following instructions to create an alert for the metric data shown on the storage pool dashboard.
- Access the storage pool Monitoring page.
- 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.