> [!WARNING]
>
> **Preview
> --- Database Center metrics and filters**
>
>
> This feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the
> [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> You can process personal data for
>
> this feature
>
> as outlined in the
> [Cloud Data
> Processing Addendum](https://docs.cloud.google.com/terms/data-processing-addendum), subject to the obligations and restrictions described in the
> agreement under which you access Google Cloud.
>
> Pre-GA features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

This document provides an overview of the metrics generated by
Database Center. It also describes how you can use filters
to restrict data that is charted or monitored by alerting policies. To help you
identify and troubleshoot performance issues for database products such as
Cloud SQL, AlloyDB for PostgreSQL, and Spanner, create custom
dashboards that display useful metrics and information about your alerting
policies.

## Database Center metric types

This section lists the metric types that are generated by
Database Center.


The "metric type" strings in this table must be prefixed
with `databasecenter.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^ *(Resource hierarchy levels)* Display name ||
| Kind, Type, Unit Monitored resources | *Description* Labels |
|---|---|
| `resource/new_resource_count` ^BETA^  ***(project)*** New database resources ||
| `CUMULATIVE`, `INT64`, `1` <br /> **[databasecenter.googleapis.com/Resource](https://docs.cloud.google.com/monitoring/api/resources.md.txt#tag_databasecenter.googleapis.com/Resource)** | *Number of new database resources.* <br /> `product`: Type of product. <br /> `engine`: Type of engine. <br /> `version`: Version of the product. |
| `resource/new_signal_count` ^BETA^  ***(project)*** New database signals ||
| `CUMULATIVE`, `INT64`, `1` <br /> **[databasecenter.googleapis.com/Resource](https://docs.cloud.google.com/monitoring/api/resources.md.txt#tag_databasecenter.googleapis.com/Resource)** | *Number of signals generated for resources.* <br /> `issue_type`: Type of signal. |

Table generated at 2026-11-19 23:02:39 UTC.

## About metric filters

When you create charts or alerting policies, you can add filters to restrict the
metric data that's charted or monitored. For example, you might add a filter so
a chart displays data only for a specific resource. Your charts and
notifications from alerting policies can help you troubleshoot issues. They can
also help you gain deeper insights into the health of your database fleet.

A *filter* is composed of a label key and a label value. For example, a label
key might be `resource_container` and the label value is a specific resource
container. You can filter metric data by metric labels and by resource labels:

- *Metric* labels let you filter alerts based on a characteristic of the
  metric type, such as the database product type or signal type.

- *Resource* labels let you filter alerts based on a property of the monitored
  resource, such as its location or name.

Filter values are case-sensitive and must be entered exactly as they appear in
the tables in this document.

You can add multiple filters to a chart or alerting policy. If you add multiple
filters, then only metric data that match all labels is shown.

The remainder of this document lists metric labels and resource labels that you
can use to filter the metric data that Database Center generates.
When you create a filter, copy and paste the filter values listed in this
document into the filter element:

- [Filter by resource type](https://docs.cloud.google.com/database-center/docs/metrics.md.txt#filter-with-resource-labels).
- [Filter by product, engine, or version](https://docs.cloud.google.com/database-center/docs/metrics.md.txt#new-database-resources-metric-label).
- [Filter by signal type](https://docs.cloud.google.com/database-center/docs/metrics.md.txt#new-signals-metric-label).

## Filter by resource type

The following label keys let you filter your
`New database resources (resource/new_resource_count)` and
`New database signals (Resource/new_signal_count)` metric data by
the resource type:

- `resource_container`
- `monitored_resource_container`
- `location`
- `resource_type`
- `full_resource_name`

For all label keys except `resource_type`, when you create the filter in
the Google Cloud console, the value menu lists all valid values.

For the label key `resource_type`, the list of label values from which you can
choose in the Google Cloud console might be incomplete.
Use the following table to choose a supported resource type:


| `resource_type` | Definition |
|---|---|
| ```sql alloydb.googleapis.com/Cluster ``` | An AlloyDB cluster. |
| ```sql alloydb.googleapis.com/Instance ``` | An AlloyDB instance. |
| ```sql bigtableadmin.googleapis.com/Cluster ``` | A Bigtable cluster. |
| ```sql bigtableadmin.googleapis.com/Instance ``` | A Bigtable instance. |
| ```sql compute.googleapis.com/Instance ``` | A Compute Engine instance. |
| ```sql firestore.googleapis.com/Database ``` | A Firestore database. |
| ```sql memorystore.googleapis.com/Instance ``` | A Memorystore for Valkey instance. |
| ```sql oracledatabase.googleapis.com/AutonomousDatabase ``` | An Oracle autonomous database resource. |
| ```sql oracledatabase.googleapis.com/CloudExadataInfrastructure ``` | An Oracle cloud Exadata infrastructure resource. |
| ```sql oracledatabase.googleapis.com/CloudVmCluster ``` | An Oracle cloud VM Cluster resource. |
| ```sql redis.googleapis.com/Cluster ``` | A Memorystore for Redis Cluster cluster. |
| ```sql redis.googleapis.com/Instance ``` | A Memorystore for Redis instance. |
| ```sql spanner.googleapis.com/Instance ``` | A Spanner instance. |
| ```sql sqladmin.googleapis.com/Instance ``` | A Cloud SQL instance. |

<br />

## Filter by product, engine, or version

The `New database resources (resource/new_resource_count)` metric type
defines the following label keys:

- `product`---Type of product
- `engine`---Type of engine
- `version`---Version of the product

Each row in the following table lists valid combinations of label values. For
example, if you add the filters `product=CLOUD_SQL` and
`version=SQLSERVER_2022_WEB` to a chart, then the chart might display data.
However, if you add the filters `product=CLOUD_SQL` and `version=2` to a chart,
then the chart won't display data.


| `product` | `engine` | `version` |
|---|---|---|
| `ALLOYDB` | `POSTGRES` | `14`, `15`, `16`, `17` |
| `BIGTABLE` | `NATIVE` | N/A |
| `CLOUD_SQL` | `MYSQL` | `5.6`, `5.7`, `8.0`, `8.4` |
| `CLOUD_SQL` | `POSTGRES` | `9.6`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17` |
| `CLOUD_SQL` | `SQL_SERVER` | `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_EXPRESS`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_WEB`, `SQLSERVER_2022_EXPRESS`, `SQLSERVER_2022_STANDARD`, `SQLSERVER_2022_ENTERPRISE`, `SQLSERVER_2022_WEB` |
| `COMPUTE_ENGINE` | `MYSQL`, `POSTGRES`, `SQL_SERVER` | N/A |
| `FIRESTORE` | `FIRESTORE_WITH_NATIVE_MODE`, `FIRESTORE_WITH_DATASTORE_MODE`, `FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE` | N/A |
| `MEMORYSTORE` | `MEMORYSTORE_FOR_REDIS` | `3.2`, `4.0`, `5.0`, `6.X`, `7.0`, `7.2` |
| `MEMORYSTORE` | `MEMORYSTORE_FOR_REDIS_CLUSTER` | `7` |
| `MEMORYSTORE` | `MEMORYSTORE_FOR_VALKEY` | `7.2`, `8.0`, `9.0`, `9.1` |
| `ORACLE_ON_GCP` | `EXADATA_ORACLE` | `19`, `23` |
| `ORACLE_ON_GCP` | `ADB_SERVERLESS_ORACLE` | `19c`, `23ai` |
| `SPANNER` | `NATIVE` | N/A |

<br />

## Filter by signal type

The `New database signals (resource/new_signal_count)` metric type
defines the one label key, `issue_type`. The value of this label is set to
a signal type.

For the label key `issue_type`, the list of resource types from which you can
choose in the Google Cloud console might not include all the supported values.
Use the following table to choose a supported signal type:


| `issue_type` | Definition |
|---|---|
| ```sql RESOURCE_FAILOVER_PROTECTED ``` | The resource is failover protected. |
| ```sql GROUP_MULTIREGIONAL ``` | The resource is part of a multi-regional group. |
| ```sql GROUP_REPLICA_POOL ``` | The resource is part of a replica pool. |
| ```sql NO_AUTOMATED_BACKUP_POLICY ``` | The resource has no automated backup policy. |
| ```sql SHORT_BACKUP_RETENTION ``` | The resource has a short backup retention period. |
| ```sql LAST_BACKUP_FAILED ``` | The last backup for the resource failed. |
| ```sql LAST_BACKUP_OLD ``` | The last backup for the resource is older than 24 hours. |
| ```sql VIOLATES_CIS_GCP_FOUNDATION_2_0 ``` | The resource violates the CIS Google Cloud Foundation 2.0 benchmark. |
| ```sql VIOLATES_CIS_GCP_FOUNDATION_1_3 ``` | The resource violates the CIS Google Cloud Foundation 1.3 benchmark. |
| ```sql VIOLATES_CIS_GCP_FOUNDATION_1_2 ``` | The resource violates the CIS Google Cloud Foundation 1.2 benchmark. |
| ```sql VIOLATES_CIS_GCP_FOUNDATION_1_1 ``` | The resource violates the CIS Google Cloud Foundation 1.1 benchmark. |
| ```sql VIOLATES_CIS_GCP_FOUNDATION_1_0 ``` | The resource violates the CIS Google Cloud Foundation 1.0 benchmark. |
| ```sql VIOLATES_CIS_CONTROLS_V8_0 ``` | The resource violates CIS Controls 8.0. |
| ```sql VIOLATES_NIST_800_53 ``` | The resource violates NIST 800-53. |
| ```sql VIOLATES_NIST_800_53_R5 ``` | The resource violates NIST 800-53 R5. |
| ```sql VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0 ``` | The resource violates NIST Cybersecurity Framework 1.0. |
| ```sql VIOLATES_ISO_27001 ``` | The resource violates ISO-27001. |
| ```sql VIOLATES_ISO_27001_V2022 ``` | The resource violates ISO-27001 v2022. |
| ```sql VIOLATES_PCI_DSS_V3_2_1 ``` | The resource violates PCI-DSS v3.2.1. |
| ```sql VIOLATES_PCI_DSS_V4_0 ``` | The resource violates PCI-DSS v4.0. |
| ```sql VIOLATES_CLOUD_CONTROLS_MATRIX_V4 ``` | The resource violates Cloud Controls Matrix 4. |
| ```sql VIOLATES_HIPAA ``` | The resource violates HIPAA. |
| ```sql VIOLATES_SOC2_V2017 ``` | The resource violates SOC2 v2017. |
| ```sql LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING ``` | Logs aren't optimized for troubleshooting. |
| ```sql QUERY_DURATIONS_NOT_LOGGED ``` | Query durations aren't logged. |
| ```sql VERBOSE_ERROR_LOGGING ``` | Error logging is configured to be verbose. |
| ```sql QUERY_LOCK_WAITS_NOT_LOGGED ``` | Query lock waits aren't logged. |
| ```sql LOGGING_MOST_ERRORS ``` | Error logging for statements is misconfigured. |
| ```sql LOGGING_ONLY_CRITICAL_ERRORS ``` | Error logging for statement severity is misconfigured. |
| ```sql MINIMAL_ERROR_LOGGING ``` | Error logging for message severity is misconfigured. |
| ```sql QUERY_STATS_LOGGED ``` | Query statistics are being logged. |
| ```sql EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME ``` | There is excessive logging of the client hostname. |
| ```sql EXCESSIVE_LOGGING_OF_PARSER_STATS ``` | There is excessive logging of parser statistics. |
| ```sql EXCESSIVE_LOGGING_OF_PLANNER_STATS ``` | There is excessive logging of planner statistics. |
| ```sql NOT_LOGGING_ONLY_DDL_STATEMENTS ``` | The configuration isn't set to log only DDL statements. |
| ```sql LOGGING_QUERY_STATS ``` | Query statistics are being logged. |
| ```sql NOT_LOGGING_TEMPORARY_FILES ``` | Temporary files aren't being logged. |
| ```sql CONNECTION_MAX_NOT_CONFIGURED ``` | The maximum number of concurrent connections isn't configured. |
| ```sql USER_OPTIONS_CONFIGURED ``` | User options are configured. |
| ```sql EXPOSED_TO_PUBLIC_ACCESS ``` | The resource is exposed to public access. |
| ```sql UNENCRYPTED_CONNECTIONS ``` | The resource allows unencrypted direct connections. |
| ```sql NO_ROOT_PASSWORD ``` | The root user has no password. |
| ```sql WEAK_ROOT_PASSWORD ``` | The root user has a weak password. |
| ```sql ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED ``` | The encryption key isn't managed by the customer. |
| ```sql SERVER_AUTHENTICATION_NOT_REQUIRED ``` | Server authentication isn't required because contained database authentication is enabled. |
| ```sql EXPOSED_BY_OWNERSHIP_CHAINING ``` | The resource is exposed by ownership chaining. |
| ```sql EXPOSED_TO_EXTERNAL_SCRIPTS ``` | The resource is exposed to external scripts. |
| ```sql EXPOSED_TO_LOCAL_DATA_LOADS ``` | The resource is exposed to local data loads. |
| ```sql CONNECTION_ATTEMPTS_NOT_LOGGED ``` | Connection attempts aren't logged. |
| ```sql DISCONNECTIONS_NOT_LOGGED ``` | Disconnections aren't logged. |
| ```sql LOGGING_EXCESSIVE_STATEMENT_INFO ``` | Excessive statement information is being logged. |
| ```sql EXPOSED_TO_REMOTE_ACCESS ``` | The resource is exposed to remote access. |
| ```sql DATABASE_NAMES_EXPOSED ``` | Database names are exposed. |
| ```sql SENSITIVE_TRACE_INFO_NOT_MASKED ``` | Sensitive trace information isn't masked. |
| ```sql PUBLIC_IP_ENABLED ``` | The resource has a public IP enabled. |
| ```sql IDLE ``` | The resource is idle. |
| ```sql OVERPROVISIONED ``` | The resource is overprovisioned. |
| ```sql HIGH_NUMBER_OF_OPEN_TABLES ``` | The resource has a high number of open tables. |
| ```sql HIGH_NUMBER_OF_TABLES ``` | The resource has a high number of tables. |
| ```sql HIGH_TRANSACTION_ID_UTILIZATION ``` | The resource has high transaction ID utilization. |
| ```sql UNDERPROVISIONED ``` | The resource is underprovisioned (high resource utilization). |
| ```sql OUT_OF_DISK ``` | The resource is nearing or at its storage capacity. |
| ```sql SERVER_CERTIFICATE_NEAR_EXPIRY ``` | The server certificate is nearing its expiration date. |
| ```sql DATABASE_AUDITING_DISABLED ``` | Database auditing is disabled. |
| ```sql RESTRICT_AUTHORIZED_NETWORKS ``` | The resource violates the policy restricting authorized networks. |
| ```sql VIOLATE_POLICY_RESTRICT_PUBLIC_IP ``` | The resource violates the policy restricting public IP. |
| ```sql QUOTA_LIMIT ``` | The resource is nearing its cluster quota limit. |
| ```sql NO_PASSWORD_POLICY ``` | There is no password policy configured. |
| ```sql CONNECTIONS_PERFORMANCE_IMPACT ``` | A high number of connections is impacting disk performance. |
| ```sql TMP_TABLES_PERFORMANCE_IMPACT ``` | The use of temporary tables is impacting performance. |
| ```sql TRANS_LOGS_PERFORMANCE_IMPACT ``` | Transaction log activity is impacting disk performance. |
| ```sql HIGH_JOINS_WITHOUT_INDEXES ``` | A high number of joins without indexes is impacting performance. |
| ```sql SUPERUSER_WRITING_TO_USER_TABLES ``` | A superuser is writing to user tables. |
| ```sql USER_GRANTED_ALL_PERMISSIONS ``` | A user has been granted all permissions. |
| ```sql DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET ``` | Data has been exported to an external Cloud Storage bucket. |
| ```sql DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET ``` | Data has been exported to a public Cloud Storage bucket. |
| ```sql WEAK_PASSWORD_HASH_ALGORITHM ``` | A weak password hash algorithm is being used. |
| ```sql NO_USER_PASSWORD_POLICY ``` | There is no password policy for users. |
| ```sql HOT_NODE ``` | A node in the cluster has high utilization. |
| ```sql NO_DELETION_PROTECTION ``` | Deletion protection isn't enabled. |
| ```sql NO_POINT_IN_TIME_RECOVERY ``` | Point-in-time recovery isn't enabled. |
| ```sql RESOURCE_SUSPENDED ``` | The resource is suspended. |
| ```sql EXPENSIVE_COMMANDS ``` | Expensive commands are being run. |
| ```sql NO_MAINTENANCE_POLICY_CONFIGURED ``` | A maintenance policy isn't configured. |
| ```sql INEFFICIENT_QUERY ``` | Inefficient queries are being run. |
| ```sql READ_INTENSIVE_WORKLOAD ``` | The workload is read-intensive. |
| ```sql MEMORY_LIMIT ``` | The resource is nearing its memory tier limit. |
| ```sql MAX_SERVER_MEMORY ``` | The maximum server memory is misconfigured. |
| ```sql LARGE_ROWS ``` | Large rows have been detected. |
| ```sql HIGH_WRITE_PRESSURE ``` | The resource is experiencing high write pressure. |
| ```sql HIGH_READ_PRESSURE ``` | The resource is experiencing high read pressure. |
| ```sql ENCRYPTION_ORG_POLICY_NOT_SATISFIED ``` | The organization's encryption policy isn't satisfied. |
| ```sql LOCATION_ORG_POLICY_NOT_SATISFIED ``` | The organization's location policy isn't satisfied. |
| ```sql OUTDATED_MINOR_VERSION ``` | The resource is running an outdated minor version and requires a patch. |
| ```sql SCHEMA_NOT_OPTIMIZED ``` | The database schema isn't optimized. |
| ```sql MANY_IDLE_CONNECTIONS ``` | There are many idle connections. |
| ```sql REPLICATION_LAG ``` | There is high replication lag. |
| ```sql OUTDATED_VERSION ``` | The resource is running an outdated major version. |

<br />

## Example: Create a chart


To visualize the number of new database signals on a chart, follow these
instructions. You can follow the same procedure for the other
Database Center metric types.


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

   [Go to **Metrics explorer**](https://console.cloud.google.com/monitoring/metrics-explorer)

   <br />

   If you use the search bar to find this page, then select the result whose subheading is
   **Monitoring**.
2. In the toolbar of the Google Cloud console, select your Google Cloud project. For [App Hub](https://docs.cloud.google.com/app-hub/docs/overview.md.txt) configurations, select the App Hub host project or the app-enabled folder's management project.
3. In the **Metric** element, expand the **Select a metric** menu, enter `New database signals` in the filter bar, and then use the submenus to select a specific resource type and metric:
   1. In the **Active resources** menu, select **Database Resource**.
   2. In the **Active metric categories** menu, select **Resource**.
   3. In the **Active metrics** menu, select **New database signals**.
   4. Click **Apply**.

   The fully qualified name for this metric is `databasecenter.googleapis.com/resource/new_signal_count`.
4. Filter your data by the signal type and
   resource type:

   - To filter by the signal type, in the **Filter** element, click **Add filter** , and then select **issue_type**. For the label value, select or enter a value.
   - To filter by the resource type, in the **Filter** element, click **Add filter** , and then select **resource_type**. For the label value, select or enter a value.

## What's next

- [Learn more about Google Cloud Observability](https://docs.cloud.google.com/monitoring/docs/monitoring-overview.md.txt).
- [Learn more about alerting policies](https://docs.cloud.google.com/monitoring/alerts.md.txt).
- [Learn more about metric-based incidents](https://docs.cloud.google.com/monitoring/alerts/incidents-events.md.txt).