This page provides details on how to monitor the usage and performance of Backup and DR Service resources in your Google Cloud project.
Backup and DR Service uses Cloud Monitoring to provide visibility into the usage, performance, and overall health of the resources. You can use Cloud Monitoring to create custom charts and dashboards to visualize the different performance metrics and resource usage of Backup and DR Service resources. Cloud Monitoring also lets you configure alerts and alert policies for these metrics. You can also set up an alert to check if the total data processed exceeds a specified threshold value. For information about configuring alerts, see Alerts.
You can visualize your Backup and DR Service metrics and data using the following Cloud Monitoring tools:
Required IAM role
The following permissions are required for metrics operations. Learn how to grant an IAM role.
- Monitoring Viewer (
roles/monitoring.viewer
) role to view metrics in Cloud Monitoring - Monitoring Editor (
roles/monitoring.editor
) role to access metrics dashboard and set alerts in Cloud Monitoring
Available Backup and DR Service resource metrics
The following metrics are available for Backup and DR Service in the Google Cloud console.
Metric for backup vault consumption
In Cloud Monitoring, the monitored resource type
for the following metrics is the backup vault (/backupdr.googleapis.com/BackupVault
)
Metric category | Metric name | Description | Metric type and label |
---|---|---|---|
Storage | Backup vault storage consumption | Represent the data usage of the backup vault. This value updates hourly and repeats the most recent value every five minutes. | Metric type: backupdr.googleapis.com/storage/stored_bytes Metric label: You can use the following labels to filter data for backup vault
storage consumption metrics:
|
Metrics for the resources protected using backup template
In Cloud Monitoring, the monitored resource type
for Backup and DR Service is the management console (/backupdr.googleapis.com/managementconsole
).
Metric category | Metric name | Description | Metric type and label |
---|---|---|---|
Backup_recovery_appliance | Backup/ recovery storage pool utilization | Represents the use of backup/recovery appliance storage pools | Metric type: backupdr.googleapis.com/backup_recovery_appliance/storage_pool/utilization Metric label: You can use the following labels for backup/recovery appliance storage pool use metrics to filter data:
|
Backup_recovery_appliance | backup/recovery appliance vDisk utilization | Represents the vDisk pool utilization for a backup/recovery appliance | Metric type: backupdr.googleapis.com/backup_recovery_appliance/v_disk_count/utilization Metric label: You can use the following labels for backup/recovery appliance vDisk utilization metrics to filter data:
|
OnVault_pools | OnVault pool usage |
Represents the usage of vault pools in GB | Metric type: backupdr.googleapis.com//onvault_pools/utilization Metric label: You can use the following labels for OnVault pool usage metrics to filter data:
|
Protected_data Note: This does not include data protected for Google Cloud VMware Engine nodes. |
Protected data volume | Represents the size of data protected by resource type | Metric type: backupdr.googleapis.com/protected_data/volume Metric label: You can use the following labels for protected data volume metrics to filter data:
|
Protected_data Note: This does not include data protected for Google Cloud VMware Engine nodes. |
Protected resources count |
Represents the number of protected resources by resource type | Metric type: backupdr.googleapis.com/protected_data/resources Metric label: You can use the following labels for protected resources count metrics to filter data:
|
Jobs | Job trend |
Represents backup and recovery job count categorized by job status. | Metric type: backupdr.googleapis.com/jobs/job_trend Metric label: You can use the following labels for job trend metrics to filter data:
|
Access metrics using sample dashboards
Backup and DR Service provides sample dashboards with charts containing metrics relevant to usage, performance, and the overall health of the resources. You can import and install these sample dashboards in Cloud Monitoring to create custom dashboards from.
To install a sample dashboard, do the following:
- In the Google Cloud console, go to the Monitoring page:
- In the navigation pane, select Dashboards, and go to the Sample library tab.
- In Categories, select Backup and DR.
- From the list of samples, select Backup and DR Monitoring and click Import.
Click Confirm.
The dashboard is imported and listed in the Dashboard list tab.
After importing the sample dashboard, you can view and edit the Backup and DR Service metrics in the dashboard. For more information about installing sample dashboards, see Install sample dashboards.
Access metrics using custom dashboards
In your Google Cloud project, you can create custom monitoring dashboards for your Backup and DR Service resources by doing the following:
- In the Google Cloud console, go to the Cloud Monitoring > Dashboard Overview page:
- Click Create dashboard.
- Click Add widget.
- Optional: Modify the name of the dashboard.
- From the Add widget menu, select a visualization type.
- In the Configure widget, do the following:
- From the Select a metric menu, choose the metrics that you want to visualize.
- Click Apply.
- Click Apply.
For more information about custom dashboards, see Create and manage custom dashboards.
Access Backup and DR Service resource metrics using Metrics explorer
The Cloud Monitoring Metrics explorer helps you build temporary metric charts to visualize the available resource metrics for your Google Cloud project. Once you have created a metric chart, you can also save it to a custom monitoring dashboard. For more information, see Select metrics when using Metrics explorer.
To create a chart using the Backup and DR Service resource metrics, do the following:
- In the Google Cloud console, go to the Cloud Monitoring > Metrics explorer page:
- In the Select a metric pane, expand the Metric menu.
- Enter
management console
in the filter bar and then use the submenus to select a specific resource type and metric.- In the Active metric categories menu, select OnVault_pools.
- In the Active metrics menu, select an OnVault pool usage metric.
- Click Apply.
- Optional: Change the settings in the Display pane:
- For quota and other metrics that report one sample per day, set the Widget type to Stacked bar chart.
- For distribution valued metrics, click the Widget type menu and select Heatmap chart.
- Click Save chart.
- Enter a name for the chart in the Chart title field.
- Choose a dashboard from an existing dashboard or create a new dashboard.
Click Save chart.
You can also select filters, group by metric labels, perform aggregations, and select chart viewing options using the Metrics explorer. For more information, see Create charts with Metrics explorer.