Monitor Backup and DR Service resources

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

In Cloud Monitoring, the monitored resource type for Backup and DR Service is the management console (/backupdr.googleapis.com/managementconsole).

The following metrics are available for Backup and DR Service in the Google Cloud console:

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 storage pool use metrics to filter data:
  • pool_name: Name of the storage pool. For example, act_pri_pool000.
  • pool_usage: Type of usage. It can be free or used.
  • pool_type: Type of storage pool. It can be snapshot or primary.
  • backup_recovery_appliance_name: The name of the backup/recovery appliance.
  • 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:
    • v_disk_usage: Display the state of the vDisk. It can be free or used.
    • backup_recovery_appliance_name: The name of the backup/recovery appliance.
    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:
    • pool_name: Name of the storage pool. For example, act_pri_pool000.
    • backup_recovery_appliance_name: The name of the backup/recovery appliance.
    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:
    • resource_type: Type of resource associated with the job. For example, Compute Engine instance, file system, SQL instance, or consistency group.
    • backup_recovery_appliance_name: The name of the backup/recovery appliance.

    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:

    1. In the Google Cloud console, go to the Monitoring page:

      Go to Monitoring page

    2. In the navigation pane, select Dashboards, and go to the Sample library tab.
    3. In Categories, select Backup and DR.
    4. From the list of samples, select Backup and DR Monitoring and click Import.
    5. Click Confirm.

      The dashboard is imported and listed in the Dashboard list tab.

      After importing the sample dashboard, you can view and edit the following Backup and DR Service metrics in the dashboard:

      • Storage pool use
      • vDisk count use
      • OnVault pool use
      • Protected data volume
      • Protected data resources count

      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:

    1. In the Google Cloud console, go to the Cloud Monitoring > Dashboard Overview page:

      Go to Dashboard Overview page

    2. Click Create dashboard.
    3. Click Add widget.
    4. Optional: Modify the name of the dashboard.
    5. From the Add widget, select a visualization type.
    6. In the Configure widget, do the following:
      1. From the Select a metric menu, choose the metrics that you want to visualize.
      2. Click Apply.
    7. 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:

    1. In the Google Cloud console, go to the Cloud Monitoring > Metrics explorer page:

      Go to Metrics explorer page

    2. In the Select a metric pane, expand the Metric menu.
    3. Enter management console in the filter bar and then use the submenus to select a specific resource type and metric.
      1. In the Active metric categories menu, select OnVault_pools.
      2. In the Active metrics menu, select an OnVault pool usage metric.
      3. Click Apply.
    4. Optional: Change the settings in the Display pane:
      1. For quota and other metrics that report one sample per day, set the Widget type to Stacked bar chart.
      2. For distribution valued metrics, set the Widget type to Heatmap chart.
    5. Click Save chart.
    6. Enter a name for the chart in the Chart title field.
    7. Choose a dashboard from an existing dashboard or create a new dashboard.
    8. 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.