Backup for GKE monitoring metrics


This page describes the monitoring metrics created by Backup for GKE as part of Google Cloud metrics.

Cloud Monitoring collects metrics to help you understand the usage of Backup for GKE and how the service is performing. For more information about Cloud Monitoring in general, see Cloud Monitoring overview.

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

Monitored resources

The following types of monitored resources are available for Backup for GKE:

Available metrics and labels

The following metrics are available for Backup for GKE in the Google Cloud console:

The "metric type" strings in this table must be prefixed with gkebackup.googleapis.com/. That prefix has been omitted from the entries in the table. When querying a label, use the metric.labels. prefix; for example, metric.labels.LABEL="VALUE".

Metric type Launch stage
Display name
Kind, Type, Unit
Monitored resources
Description
Labels
backup_completion_times GA
Backup completion time
DELTADISTRIBUTIONs
gkebackup.googleapis.com/BackupPlan
Distribution of the backup completion time.
state: State of the backup, one of [SUCCEEDED, FAILED].
backup_created_count GA
Backup created count
DELTAINT641
gkebackup.googleapis.com/BackupPlan
Count of the backups created under a backupPlan.
scheduled: Whether the backup was created by schedule, one of [true, false].
backup_deleted_count GA
Backup deleted count
DELTAINT641
gkebackup.googleapis.com/BackupPlan
Count of the backups deleted under a backupPlan.
scheduled: Whether the backup was deleted by schedule, one of [true, false].
restore_created_count GA
Restore created count
DELTAINT641
gkebackup.googleapis.com/RestorePlan
Count of the restores created under a restorePlan.

Table generated at 2024-05-15 15:25:49 UTC.

For more information about monitoring metrics, see Metrics list.

To view graphs of metric data, use the Metrics Explorer. For information on using this tool, see Metrics Explorer.