Download PDF
Download page GCP Cloud SQL.
GCP Cloud SQL
Google Cloud Platform (GCP) Cloud SQL is a fully managed relational database service for MySQL, PostgreSQL, and SQL Server.
You must configure cloud connections to monitor this entity. See Configure Google Cloud Platform Connection.
Cisco Cloud Observability displays GCP entities on the Observe page. Metrics are displayed for specific entity instances in the list and detail views.
This document contains references to third-party documentation. Splunk AppDynamics does not own any rights and assumes no responsibility for the accuracy or completeness of such third-party documentation.
Detail View
To display the detail view of a Cloud SQL entity:
- Navigate to the Observe page.
- Under Database & Storage, click SQL Database Instances.
The list view now displays. - Click the GCP button to display only GCP database entities.
- From the list, click a database Name to display the detail view.
The detail view displays metrics, key performance indicators, and properties (attributes) related to the database you selected.
Metrics and Key Performance Indicators
Cisco Cloud Observability displays the following metrics and key performance indicators (KPIs) for Cloud SQL entities.
Some GCP metrics have been modified in Cisco Cloud Observability. Metric display names and descriptions may differ from the source metric.
Display Name | Source Metric | Description |
---|---|---|
CPU Limit |
| Number of cores reserved for the database. |
CPU Utilization (%) |
| Current CPU utilization represented as a percentage of the reserved CPU that is currently in use. |
Storage Used (By) |
| Data utilization in bytes. |
Data Storage Space Allocated (By) |
| Maximum data disk size in bytes. |
Storage Utilization (%) |
| The fraction of the disk quota that is currently in use. |
Memory Usage (%) |
| The fraction of the memory quota that is currently in use. |
Database Connections |
| Number of connections to databases on the Cloud SQL instance. |
Network In (By) |
| Delta count of bytes received by MySQL process. |
Network Out (By) |
| Delta count of bytes sent by MySQL process. |
CPU Usage (By) |
| Cumulative CPU usage time in seconds. |
Disk IO Operations |
| Delta count of data disk read/write IO operations. |
Memory Quota (By) |
| Maximum RAM size in bytes. |
Total Memory Usage (By) |
| Total RAM usage in bytes. This metric reports the RAM usage of the database process, including the buffer/cache. |
Memory Usage (By) |
| RAM usage in bytes. This metric reports the RAM usage of the server, excluding the buffer/cache. |
Server Up |
| Indicates if the server is up or not. |
Uptime (s) |
| Delta count of the time in seconds the instance has been running. |
MySQL InnoDB Dictionary Cache (By) |
| Memory allocated for InnoDB dictionary cache. |
InnoDB Free Pages |
| Number of unused pages in the InnoDB buffer pool. |
InnoDB Total Pages |
| Total number of pages in the InnoDB buffer pool. |
InnoDB Pages |
| Delta count of InnoDB pages read/written. |
MySQL Open Table/Table Definitions |
| The number of tables/tables definitions that are currently open/cached. |
MySQL Opened Table/Table Definitions Count |
| The number of tables/tables definitions that have been opened/cached since the last sample. |
Queries |
| Delta count of statements executed by the server. |
Questions |
| Delta count of statements executed by the server sent by the client. |
InnoDB Dirty Pages |
| Number of unflushed pages in the InnoDB buffer pool. |
InnoDB Fsync Calls |
| Delta count of InnoDB fsync() calls. |
InnoDB Log Fsync Calls |
| Delta count of InnoDB fsync() calls to the log file. |
Display Name | Source Metric | Description |
---|---|---|
CPU Limit |
| Number of cores reserved for the database. |
CPU Utilization (%) |
| Current CPU utilization represented as a percentage of the reserved CPU that is currently in use. |
Storage Used (By) |
| Data utilization in bytes. |
Data Storage Space Allocated (By) |
| Maximum data disk size in bytes. |
Storage Utilization (%) |
| The fraction of the disk quota that is currently in use. |
Memory Usage (%) |
| The fraction of the memory quota that is currently in use. |
Database Connections |
| Number of connections to databases on the Cloud SQL instance. |
Network In (By) |
| Delta count of bytes received by MySQL process. |
Network Out (By) |
| Delta count of bytes sent by MySQL process. |
CPU Usage (By) |
| Cumulative CPU usage time in seconds. |
Disk IO Operations |
| Delta count of data disk read/write IO operations. |
Memory Quota (By) |
| Maximum RAM size in bytes. |
Total Memory Usage (By) |
| Total RAM usage in bytes. This metric reports the RAM usage of the database process, including the buffer/cache. |
Memory Usage (By) |
| RAM usage in bytes. This metric reports the RAM usage of the server, excluding the buffer/cache. |
Server Up |
| Indicates if the server is up or not. |
Uptime (s) |
| Delta count of the time in seconds the instance has been running. |
Deadlocks |
| Number of deadlocks detected. |
Number of Disk Blocks Read |
| Number of disk blocks read. |
PostgreSQL New Connections Count |
| Count of new connections added to the Cloud SQL PostgreSQL instance. |
PostgreSQL Connections |
| Number of connections to the Cloud SQL PostgreSQL instance. |
Data Written to Temporary (By) |
| Total amount of data (in bytes) written to temporary files by the queries. |
Temporary Files Used for Writing Data |
| Total number of temporary files used for writing data while performing algorithms such as join and sort. |
Number of Transactions |
| Delta count of number of transactions. |
Transaction ID Utilization (%) |
| Current utilization represented as a percentage of transaction IDs consumed by the Cloud SQL PostgreSQL instance. Values are typically numbers between 0.0 and 1.0. Charts display the values as a percentage between 0% and 100%. |
Oldest Transaction Age |
| Age of the oldest transaction yet to be vacuumed in the Cloud SQL PostgreSQL instance, measured in number of transactions that have happened since the oldest transaction. |
Number of Tuples (Rows) in The Database |
| Number of tuples (rows). |
PostgreSQL Backends in Wait |
| Number of backends in wait in the Cloud SQL PostgreSQL instance. |
PostgreSQL Connections by State |
| Number of connections to the Cloud SQL PostgreSQL instance, grouped by its state. |
PostgreSQL Connections by Application |
| Number of connections to the Cloud SQL PostgreSQL instance, grouped by applications. |
Transaction ID Count |
| Delta count of transaction ID. |
Number of Tuples Fetched |
| Total number of rows fetched as a result of queries in the PostgreSQL instance. |
Number of Rows Processed |
| Number of tuples (rows) processed. |
Number of Tuples Returned |
| Total number of rows scanned while processing the queries in the PostgreSQL instance. |
Display Name | Source Metric | Description |
---|---|---|
CPU Limit |
| Number of cores reserved for the database. |
CPU Utilization (%) |
| Current CPU utilization represented as a percentage of the reserved CPU that is currently in use. |
Storage Used (By) |
| Data utilization in bytes. |
Data Storage Space Allocated (By) |
| Maximum data disk size in bytes. |
Storage Utilization (%) |
| The fraction of the disk quota that is currently in use. |
Memory Usage (%) |
| The fraction of the memory quota that is currently in use. |
Database Connections |
| Number of connections to databases on the Cloud SQL instance. |
Network In (By) |
| Delta count of bytes received by MySQL process. |
Network Out (By) |
| Delta count of bytes sent by MySQL process. |
CPU Usage (By) |
| Cumulative CPU usage time in seconds. |
Disk IO Operations |
| Delta count of data disk read/write IO operations. |
Memory Quota (By) |
| Maximum RAM size in bytes. |
Total Memory Usage (By) |
| Total RAM usage in bytes. This metric reports the RAM usage of the database process, including the buffer/cache. |
Memory Usage (By) |
| RAM usage in bytes. This metric reports the RAM usage of the server, excluding the buffer/cache. |
Server Up |
| Indicates if the server is up or not. |
Uptime (s) |
| Delta count of the time in seconds the instance has been running. |
Deadlocks |
| Total number of lock requests that resulted in a deadlock. |
Connection Resets |
| Total number of logins started from the connection pool since the last restart of the SQL Server service. |
Login Attempts |
| Total number of login attempts since the last restart of the SQL Server service. This does not include pooled connections. |
Logouts |
| Total number of logout operations since the last restart of the SQL Server service. |
Processes Blocked |
| Current number of blocked processes. |
Free List Stalls |
| Total number of requests that had to wait for a free page. |
Memory Grants Pending |
| Current number of processes waiting for a workspace memory grant. |
Page Life Expectancy (s) |
| Current number of seconds a page will stay in the buffer pool without references. |
Page Operations |
| Total number of physical database page reads or writes. This statistic counts physical page reads or writes across all databases. |
Number of Active Workers |
| Current number of workers that are active. An active worker is never preemptive, must have an associated task, and is either running, runnable, or suspended. |
Number of Current Tasks |
| Current number of current tasks. This count includes tasks that are waiting for a worker to execute them and tasks that are currently waiting or running (in SUSPENDED or RUNNABLE state). |
Number of Workers |
| Current number of workers. It includes workers that are not assigned any task. |
Number of Pending I/O Operations |
| Current number of pending I/Os that are waiting to be completed. |
Number of Workers with Assigned Tasks |
| Current number of workers, with tasks assigned to them. |
Number of Pending Tasks |
| Current number of tasks in the pending queue. |
Server Principals |
| Current number of server principals on the instance. |
SQL Server Agent Jobs |
| Current number of SQL Server agent jobs on the instance. |
Full Scans |
| Total number of unrestricted full scans. These can be either base-table or full-index scans. |
Page Splits |
| Total number of page splits that occur as the result of overflowing index pages. |
SQL Compilations |
| Total number of SQL compilations. |
SQL Recompilations |
| Total number of SQL recompilations. |
Transactions Started |
| Total number of transactions started. |
Lazy Writes |
| Total number of buffers written by the buffer manager's lazy writer. The lazy writer is a system process that flushes out batches of dirty, aged buffers (buffers that contain changes that must be written back to disk before the buffer can be reused for a different page) and makes them available to user processes. |
Checkpoint Pages |
| Total number of pages flushed to disk by a checkpoint or other operation that requires all dirty pages to be flushed. |
Number of Schedulers |
| Current number of schedulers. |
Batch Requests |
| Total number of Transact-SQL command batches received. |
Forwarded Records |
| Total number of records fetched through forwarded record pointers. |
Log Bytes Flushed (By) |
| Total number of log bytes flushed. |
Probe Scans |
| Total number of probe scans that are used to find at most one single qualified row in an index or base table directly. |
Properties (Attributes)
Cisco Cloud Observability displays the following properties for Cloud SQL entities.
Display Name | Source Property Name | Description |
---|---|---|
ID |
| The URI of this resource. |
Name |
| Name of the Cloud SQL instance. This does not include the project ID. |
Project ID |
| The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable. |
Region |
| The geographical region. This value can be:
The value defaults to us-central or us-central1 depending on the instance type. The region cannot be changed after instance creation. |
Zone |
| The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance. |
Type |
| This property is hardcoded to one of the following values depending on the instance type:
|
Created At |
| The time when the instance was created in RFC 3339 format. For example, 2012-11-15T16:19:00.094Z. |
Status |
| The current serving state of the Cloud SQL instance. This property is an enum with the following possible values:
|
VPC ID |
| The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, |
Secondary Gce Zone |
| The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone. |
Instance Type |
| The instance type. This property is an enum with the following possible values:
|
Ip Addresses |
| The assigned IP addresses for the instance. |
Backend Type |
| The backend type. This property is read-only. Use the tier property in the settings object to determine the database type. Possible values:
|
Database Version |
| The database engine type and version. The databaseVersion field cannot be changed after instance creation. This property is an enum with the following possible values:
|
Database Installed Version |
| Output only. Stores the current database version running on the instance including the minor version, such as MYSQL_8_0_18. |
Kind |
| The value of this property is always sql#instance. |
Connection Name |
| Connection name of the Cloud SQL instance used in connection strings. |
Suspension Reasons |
| If the instance state is SUSPENDED, this property describes the reason for the suspension. This property is an enum with the following possible values:
|
Maintenance Start Time |
| The start time of any upcoming scheduled maintenance for this instance. The format is a timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
|
Reschedule Maintenance |
| Specifies if the scheduled maintenance can be rescheduled. |
Maintenance Schedule Deadline Time |
| Maintenance cannot be rescheduled to start beyond this deadline. The format is a timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
|
Data Disk Type |
| The type of data disk. This property is an enum with the following possible values:
|
Availability Type |
| Availability type. This property is an enum with the following possible values:
|
Size (Gb) |
| The size of data disk in GB. The data disk size minimum is 10GB. |
Max Allocated Storage (By) |
| The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. |
Storage Auto Resize |
| Configuration to increase storage size automatically. The default value is true. |
Display Name | Source Property Name | Description |
---|---|---|
ID |
| The URI of this resource. |
Name |
| Name of the Cloud SQL instance. This does not include the project ID. |
Project ID |
| The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable. |
Region |
| The geographical region. Possible values:
The value defaults to us-central or us-central1 depending on the instance type. The region cannot be changed after instance creation. |
Zone |
| The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance. |
Type |
| This property is hardcoded to one of the following values depending on the instance type:
|
Created At |
| The time when the instance was created in RFC 3339 format. For example, 2012-11-15T16:19:00.094Z. |
Status |
| The current serving state of the Cloud SQL instance. This property is an enum with the following possible values:
|
VPC ID |
| The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, |
Secondary Gce Zone |
| The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone. |
Instance Type |
| The instance type. This property is an enum with the following possible values:
|
Ip Addresses |
| The assigned IP addresses for the instance. |
Backend Type |
| The backend type. This property is read-only. Use the tier property in the settings object to determine the database type. Possible values:
|
Database Version |
| The database engine type and version. The databaseVersion field cannot be changed after instance creation. This property is an enum with the following possible values:
|
Database Installed Version |
| Output only. Stores the current database version running on the instance including the minor version, such as MYSQL_8_0_18. |
Kind |
| The value of this property is always sql#instance. |
Connection Name |
| Connection name of the Cloud SQL instance used in connection strings. |
Suspension Reasons |
| If the instance state is SUSPENDED, this property specifies the reason for the suspension. The value of this property is an enum with the following possible values:
|
Maintenance Start Time |
| The start time of any upcoming scheduled maintenance for this instance. The format is a timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
|
Reschedule Maintenance |
| Specifies if the scheduled maintenance can be rescheduled. |
Maintenance Schedule Deadline Time |
| Maintenance cannot be rescheduled to start beyond this deadline. The format is a timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
|
Data Disk Type |
| The type of data disk. Not used for First Generation instances. This property is an enum with the following possible values:
|
Availability Type |
| Availability type. This property is an enum with the following possible values:
|
Size (Gb) |
| The size of the data disk in GB. The data disk size minimum is 10GB. |
Max Allocated Storage (By) |
| The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. |
Storage Auto Resize |
| Configuration to increase storage size automatically. The default value is true. |
Display Name | Source Property Name | Description |
---|---|---|
ID |
| The URI of this resource. |
Name |
| Name of the Cloud SQL instance. This does not include the project ID. |
Project ID |
| The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable. |
Region |
| The geographical region. Possible values:
The value defaults to us-central or us-central1 depending on the instance type. The region cannot be changed after instance creation. |
Zone |
| The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance. |
Type |
| Hardcoded to one of the values: MySQL, PostgreSQL or SQL Server, depending on the instance type. |
Created At |
| The time when the instance was created in RFC 3339 format. For example, 2012-11-15T16:19:00.094Z. |
Status |
| The current serving state of the Cloud SQL instance. This property is an enum with the following possible values:
|
VPC ID |
| The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, |
Secondary Gce Zone |
| The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone. |
Instance Type |
| The instance type. This property is an enum with the following possible values:
|
Ip Addresses |
| The assigned IP addresses for the instance. |
Backend Type |
| The backend type. This property is read-only. Use the tier property in the settings object to determine the database type. Possible values:
|
Database Version |
| The database engine type and version. The databaseVersion field cannot be changed after instance creation. This property is an enum with the following possible values:
|
Database Installed Version |
| Output only. Stores the current database version running on the instance including minor version, such as MYSQL_8_0_18. |
Kind |
| This property is always sql#instance. |
Connection Name |
| Connection name of the Cloud SQL instance used in connection strings. |
Suspension Reasons |
| If the instance state is SUSPENDED, this property specifies the reason for the suspension. This property is an enum with the following possible values:
|
Maintenance Start Time |
| The start time of any upcoming scheduled maintenance for this instance. The format is a timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
|
Reschedule Maintenance |
| Specifies if the scheduled maintenance can be rescheduled. |
Maintenance Schedule Deadline Time |
| Maintenance cannot be rescheduled to start beyond this deadline. The format is a timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
|
Data Disk Type |
| The type of data disk. Not used for First Generation instances. This property is an enum with the following possible values:
|
Availability Type |
| Availability type. This property is an enum with the following possible values:
|
Size (Gb) |
| The size of the data disk in GB. The data disk size minimum is 10GB. |
Max Allocated Storage (By) |
| The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. |
Storage Auto Resize |
| Configuration to increase storage size automatically. The default value is true. |
Time Zone | settings.timeZone | Server timezone, relevant only for Cloud SQL for SQL Server. |
Active Directory Domain | settings.activeDirectoryConfig.SqlActiveDirectoryConfig.domain | The name of the domain (e.g., mydomain.com). |
Retention and Purge Time-To-Live (TTL)
For all cloud and infrastructure entities, the retention TTL is 180 minutes (3 hours) and the purge TTL is 525,600 minutes (365 days).
Third party names, logos, marks, and general references used in these materials are the property of their respective owners or their affiliates in the United States and/or other countries. Inclusion of such references are for informational purposes only and are not intended to promote or otherwise suggest a relationship between Splunk AppDynamics and the third party.