Cloud SQL is a fully managed database service that makes it easy to set up, maintain, manage, and administer relational PostgreSQL, MySQL, and SQL Server databases in the cloud.ass security.

Setup

To set up the Google integration and discover the Google service, go to Google Integration Discovery Profile and select Cloud SQL.

Supported metrics

GCP SQL Instance

New OpsRamp MetricGoogle MetricMetric Display NameUnitDescription
google_cloudsql_database_auto_failover_request_countcloudsql.googleapis.com/database/auto_failover_request_countAuto-failover RequestscountDelta of number of instance auto-failover requests. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_available_for_failovercloudsql.googleapis.com/database/available_for_failoverAvailable for failovercountThis is > 0 if the failover operation is available on the instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_cpu_reserved_corescloudsql.googleapis.com/database/cpu/reserved_coresCPU reserved corescountNumber of cores reserved for the database. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_cpu_usage_timecloudsql.googleapis.com/database/cpu/usage_timeCPU usageCPU secondsCumulative CPU usage time in seconds. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_cpu_utilizationcloudsql.googleapis.com/database/cpu/utilizationCPU utilization%Current CPU utilization represented as a percentage of the reserved CPU that is currently in use. Values are typically numbers between 0.0 and 1.0 (but might exceed 1.0). Charts display the values as a percentage between 0% and 100% (or more). Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_data_cache_bytes_usedcloudsql.googleapis.com/database/data_cache/bytes_usedData cache usedbytesData cache usage in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_data_cache_quotacloudsql.googleapis.com/database/data_cache/quotaData cache quotabytesMaximum data cache size in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_bytes_usedcloudsql.googleapis.com/database/disk/bytes_usedBytes usedbytesData utilization in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_provisioning_iopscloudsql.googleapis.com/database/disk/provisioning/iopsProvisioned IOPScountProvisioned IOPS for the data disk. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_provisioning_throughputcloudsql.googleapis.com/database/disk/provisioning/throughputProvisioned throughputcountProvisioned throughput for the data disk. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_quotacloudsql.googleapis.com/database/disk/quotaDisk quotabytesMaximum data disk size in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_read_bytes_countcloudsql.googleapis.com/database/disk/read_bytes_countDisk read bytescountDelta count of data disk read IO bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_read_ops_countcloudsql.googleapis.com/database/disk/read_ops_countDisk read IOcountDelta count of data disk read IO operations. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_utilizationcloudsql.googleapis.com/database/disk/utilizationDisk utilizationcountThe fraction of the disk quota that is currently in use. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_write_bytes_countcloudsql.googleapis.com/database/disk/write_bytes_countDisk write bytescountDelta count of data disk write IO bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_disk_write_ops_countcloudsql.googleapis.com/database/disk/write_ops_countDisk write IOcountDelta count of data disk write IO operations. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_instance_statecloudsql.googleapis.com/database/instance_stateInstance statecountThe current serving state of the Cloud SQL instance. Because there are seven possible states, seven data points are returned. Each of them has a different field value representing each state. Only the one that matches the current state of the instance is TRUE. All the others are FALSE. The state can be one of the It is not currently running, but it's ready to be restarted. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_memory_quotacloudsql.googleapis.com/database/memory/quotaMemory quotabytesMaximum RAM size in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_memory_total_usagecloudsql.googleapis.com/database/memory/total_usageTotal memory usagebytesTotal RAM usage in bytes. This metric reports the RAM usage of the database process, including the buffer/cache. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_memory_usagecloudsql.googleapis.com/database/memory/usageMemory usagebytesRAM usage in bytes. This metric reports the RAM usage of the server, excluding the buffer/cache. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_memory_utilizationcloudsql.googleapis.com/database/memory/utilizationMemory utilizationcountThe fraction of the memory quota that is currently in use. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_swap_bytes_usedcloudsql.googleapis.com/database/swap/bytes_usedSwap space usagebytesSwap space used by the database container. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_swap_pages_swapped_in_countcloudsql.googleapis.com/database/swap/pages_swapped_in_countPages Swapped In CountbytesTotal count of pages swapped in of disk since the system was booted. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_swap_pages_swapped_out_countcloudsql.googleapis.com/database/swap/pages_swapped_out_countPages Swapped Out CountbytesTotal count of pages swapped out of disk since the system was booted. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_upcloudsql.googleapis.com/database/upServer upcountIndicates if the server is up or not. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_uptimecloudsql.googleapis.com/database/uptimeUptimesecondsDelta count of the time in seconds the instance has been running. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_replication_log_archive_failure_countcloudsql.googleapis.com/database/replication/log_archive_failure_countNumber of log archival failures.countNumber of failed attempts for archiving replication log files. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_replication_log_archive_success_countcloudsql.googleapis.com/database/replication/log_archive_success_countNumber of log archival successes.countNumber of successful attempts for archiving replication log files. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_replication_network_lagcloudsql.googleapis.com/database/replication/network_lagNetwork lagsecondsIndicates time taken from primary binary log to IO thread on replica. Only applicable to replicas. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_replication_replica_lagcloudsql.googleapis.com/database/replication/replica_lagReplication lagsecondsNumber of seconds the read replica is behind its primary (approximation). A negative value indicates that replication is inactive. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_network_connectionscloudsql.googleapis.com/database/network/connectionsCloud SQL ConnectionscountNumber of connections to databases on the Cloud SQL instance. Only applicable to MySQL and SQL Server. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_network_received_bytes_countcloudsql.googleapis.com/database/network/received_bytes_countReceived bytesbytesDelta count of bytes received through the network. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_network_sent_bytes_countcloudsql.googleapis.com/database/network/sent_bytes_countSent bytesbytesDelta count of bytes sent through the network. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.

GCP MySQL Instance

New OpsRamp MetricGoogle MetricMetric Display NameUnitDescription
google_cloudsql_database_mysql_aborted_clients_countcloudsql.googleapis.com/database/mysql/aborted_clients_countMySQL Aborted Clients CountcountConnections that were aborted because the client died without closing the connection properly, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_aborted_connects_countcloudsql.googleapis.com/database/mysql/aborted_connects_countMySQL Aborted Connects CountcountFailed attempts to connect to the MySQL server, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_connections_countcloudsql.googleapis.com/database/mysql/connections_countMySQL Connections CountcountConnection attempts (successful or not) to the MySQL server, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_ddl_operations_countcloudsql.googleapis.com/database/mysql/ddl_operations_countMySQL DDL Operations CountcountMySQL DDL operations, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_dml_operations_countcloudsql.googleapis.com/database/mysql/dml_operations_countMySQL DML Operations CountcountMySQL DML operations, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_handler_operations_countcloudsql.googleapis.com/database/mysql/handler_operations_countMySQL Handler Operations CountcountMySQL handler operations, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_active_transactionscloudsql.googleapis.com/database/mysql/innodb/active_transactionsInnoDB Active TransactionscountNumber of active Transaction details(trx which are in progress), Values in bracket are meant for innodb_transaction_state (Total/running/lock_wait/rolling_back/committing). Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_active_trx_longest_timecloudsql.googleapis.com/database/mysql/innodb/active_trx_longest_timeInnoDB Active TRX Longest TimecountLargest transaction time from currently active innodb transactions. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_active_trx_rows_lockedcloudsql.googleapis.com/database/mysql/innodb/active_trx_rows_lockedInnoDB Active TRX Rows LockedcountNumber of rows locked by currently active innodb transactions. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_active_trx_rows_modifiedcloudsql.googleapis.com/database/mysql/innodb/active_trx_rows_modifiedInnoDB Active TRX Rows ModifiedcountNumber of rows modified by currently active innodb transactions. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_active_trx_total_timecloudsql.googleapis.com/database/mysql/innodb/active_trx_total_timeInnoDB Active TRX Total TimesecondsDuration of currently active innodb transactions. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_adaptive_hash_operation_countcloudsql.googleapis.com/database/mysql/innodb/adaptive_hash_operation_countInnodb AHI operationscountTotal internal row operations (rows added, updated, removed) performed to maintain the AHI since last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_ahi_search_countcloudsql.googleapis.com/database/mysql/innodb/ahi_search_countAHI or Btree searchescountTotal search operations on the InnoDB AHI and its efficiency since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_flush_sync_waits_countcloudsql.googleapis.com/database/mysql/innodb/buffer_flush_sync_waits_countInnodb sync flushing waitscountNumber of times InnoDB has performed synchronous buffer flush operations and blocking the user transactions since last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_pool_pagescloudsql.googleapis.com/database/mysql/innodb/buffer_pool_pagesInnoDB Buffer Pool PagescountNumber of InnoDB buffer pool pages, innodb_page_type field stores count of InnoDB pages in each state. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_pool_read_requests_countcloudsql.googleapis.com/database/mysql/innodb/buffer_pool_read_requests_countInnodb Buffer Pool Read Requests CountcountLogical read requests from InnoDB buffer pool, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_pool_reads_countcloudsql.googleapis.com/database/mysql/innodb/buffer_pool_reads_countInnodb Buffer Pool Reads CountcountLogical reads that InnoDB could not satisfy from the buffer pool, and had to read directly from disk, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_pool_write_requests_countcloudsql.googleapis.com/database/mysql/innodb/buffer_pool_write_requests_countInnoDB Buffer Pool Write Requests CountcountWrites done to the InnoDB buffer pool, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_cache_cache_hit_countcloudsql.googleapis.com/database/mysql/innodb/data_cache/cache_hit_countMySQL data cache hit countcountTotal number of data cache hit read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_cache_cache_miss_countcloudsql.googleapis.com/database/mysql/innodb/data_cache/cache_miss_countMySQL data cache miss countcountTotal number of data cache miss read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_cache_pagescloudsql.googleapis.com/database/mysql/innodb/data_cache/pagesInnodb Pages in Data CachecountThe number of Innodb pages in Mysqls E+ Data cache feature. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_fsyncs_countcloudsql.googleapis.com/database/mysql/innodb/data_fsyncs_countInnodb Data Fsyncs CountcountInnoDB fsync() calls, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_pending_fsyncscloudsql.googleapis.com/database/mysql/innodb/data_pending_fsyncsInnoDB Data Pending FsyncscountNumber of pending fsync() operations in the MySQL server. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_pending_readscloudsql.googleapis.com/database/mysql/innodb/data_pending_readsInnoDB Data Pending ReadscountNumber of pending reads in the MySQL Server. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_pending_writescloudsql.googleapis.com/database/mysql/innodb/data_pending_writesInnoDB Data Pending WritescountNumber of pending writes in the MySQL Server. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_deadlocks_countcloudsql.googleapis.com/database/mysql/innodb/deadlocks_countInnoDB Deadlocks CountcountDeadlocks, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_dictionary_memorycloudsql.googleapis.com/database/mysql/innodb/dictionary_memoryMySQL InnoDB dictionary cachebytesMemory allocated for InnoDB dictionary cache. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_history_list_lengthcloudsql.googleapis.com/database/mysql/innodb/history_list_lengthInnoDB History List LengthcountIndicates the size of undo logs which are used to store modifications made to older versions of rows. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_ibuf_merge_operation_countcloudsql.googleapis.com/database/mysql/innodb/ibuf_merge_operation_countInnoDB merged records operation wisecountTotal number of records type merged by the change buffering operation since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_ibuf_merges_countcloudsql.googleapis.com/database/mysql/innodb/ibuf_merges_countInnoDB change buffer merges.countTotal number of change buffer merges since the last sample. This shows the efficiency of all change buffer operations. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_innodb_log_waits_countcloudsql.googleapis.com/database/mysql/innodb/innodb_log_waits_countTransaction waits for Innodb logbuffer flushcountTotal number of transactions wait for space to become available in the InnoDB log buffer, to help tune innodb_log_buffer_size configuration. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_lock_timeout_countcloudsql.googleapis.com/database/mysql/innodb/lock_timeout_countInnodb Row Lock Wait Timeout CountcountRow lock wait timeouts, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_lsncloudsql.googleapis.com/database/mysql/innodb/lsnInnoDB LSNbytesValue of Innodb current/flushed/last_checkpoint log sequence number. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_operation_disk_io_countcloudsql.googleapis.com/database/mysql/innodb/operation_disk_io_countDisk IO performed by InnoDB.countDisk IO operations performed by InnoDB since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_os_log_fsyncs_countcloudsql.googleapis.com/database/mysql/innodb/os_log_fsyncs_countInnodb OS Log Fsyncs CountcountInnoDB fsync() calls to the log file, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_os_log_pending_fsyncscloudsql.googleapis.com/database/mysql/innodb/os_log_pending_fsyncsInnoDB OS Log Pending FsyncscountNumber of pending fsync() operations for the InnoDB redo log files in the MySQL server. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_os_log_pending_writescloudsql.googleapis.com/database/mysql/innodb/os_log_pending_writesInnoDB OS Log Pending WritescountNumber of pending writes to the InnoDB redo log files in the MySQL server. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_pages_read_countcloudsql.googleapis.com/database/mysql/innodb/pages_read_countInnodb Pages Read CountcountInnoDB pages read, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_pages_written_countcloudsql.googleapis.com/database/mysql/innodb/pages_written_countInnodb Pages Written CountcountDInnoDB pages written, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_row_lock_timecloudsql.googleapis.com/database/mysql/innodb/row_lock_timeInnoDB Row Lock TimemsThe total time spent in acquiring row locks for InnoDB tables. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_row_lock_waits_countcloudsql.googleapis.com/database/mysql/innodb/row_lock_waits_countInnoDB Row Lock Waits CountcountTimes operations on InnoDB tables had to wait for a row lock, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_row_operations_countcloudsql.googleapis.com/database/mysql/innodb/row_operations_countInnoDB Row Operations CountcountInnoDB row operations, operation_type field stores the count of InnoDB row operations, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_pool_pages_dirtycloudsql.googleapis.com/database/mysql/innodb_buffer_pool_pages_dirtyInnoDB dirty pagescountNumber of unflushed pages in the InnoDB buffer pool. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_pool_pages_freecloudsql.googleapis.com/database/mysql/innodb_buffer_pool_pages_freeInnoDB free pagescountNumber of unused pages in the InnoDB buffer pool. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_buffer_pool_pages_totalcloudsql.googleapis.com/database/mysql/innodb_buffer_pool_pages_totalInnoDB total pagescountTotal number of pages in the InnoDB buffer pool. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_data_fsyncscloudsql.googleapis.com/database/mysql/innodb_data_fsyncsInnoDB fsync callscountDelta count of InnoDB fsync() calls. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_os_log_fsyncscloudsql.googleapis.com/database/mysql/innodb_os_log_fsyncsInnoDB log fsync callscountDelta count of InnoDB fsync() calls to the log file. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_pages_readcloudsql.googleapis.com/database/mysql/innodb_pages_readInnoDB pages readcountDelta count of InnoDB pages read. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_innodb_pages_writtencloudsql.googleapis.com/database/mysql/innodb_pages_writtenInnoDB pages writtencountDelta count of InnoDB pages written. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_max_connectionscloudsql.googleapis.com/database/mysql/max_connectionsMySQL Max ConnectionscountValue of the MySQL max_connections configuration. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_memory_by_code_areacloudsql.googleapis.com/database/mysql/memory/by_code_areaMemory allocated by code areabytesMemory allocated to each code area, reported by mysql performance_schema. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_memory_by_eventcloudsql.googleapis.com/database/mysql/memory/by_eventMemory allocated by eventsbytesMemory allocated by each event, reported by performance_schema. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_memory_globalcloudsql.googleapis.com/database/mysql/memory/globalGlobal memory allocatedbytesThe total allocated memory, reported by performance_schema. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_open_table_definitionscloudsql.googleapis.com/database/mysql/open_table_definitionsMySQL open table definitionscountThe number of table definitions that are currently cached. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_open_tablescloudsql.googleapis.com/database/mysql/open_tablesMySQL open tablescountThe number of tables that are currently open. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_opened_table_countcloudsql.googleapis.com/database/mysql/opened_table_countMySQL opened table countcountThe number of tables that have been opened since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_opened_table_definitions_countcloudsql.googleapis.com/database/mysql/opened_table_definitions_countMySQL opened table definitions countcountThe number of table definitions that have been cached since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_queriescloudsql.googleapis.com/database/mysql/queriesQueriescountDelta count of statements executed by the server. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_questionscloudsql.googleapis.com/database/mysql/questionsQuestionscountDelta count of statements executed by the server sent by the client. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_received_bytes_countcloudsql.googleapis.com/database/mysql/received_bytes_countNetwork bytes received by MySQLbytesDelta count of bytes received by MySQL process. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_replication_last_io_errnocloudsql.googleapis.com/database/mysql/replication/last_io_errnoDatabase Mysql Replication Last Io ErrnocountThe error number of the most recent error that caused the I/O thread to stop. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_replication_last_sql_errnocloudsql.googleapis.com/database/mysql/replication/last_sql_errnoLast SQL thread error number.countThe error number of the most recent error that caused the SQL thread to stop. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_replication_seconds_behind_mastercloudsql.googleapis.com/database/mysql/replication/seconds_behind_masterReplication lagsecondsNumber of seconds the read replica is behind its primary (approximation). A negative value indicates that replication is inactive. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_replication_slave_io_running_statecloudsql.googleapis.com/database/mysql/replication/slave_io_running_stateDatabase Mysql Replication Slave Io Running StatecountIndicates whether the I/O thread for reading the primary's binary log is running. Possible values are Yes, No and Connecting, and the values are exposed through the 'state' field. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_replication_slave_sql_running_statecloudsql.googleapis.com/database/mysql/replication/slave_sql_running_stateSlave SQL thread running statecountIndicates whether the SQL thread for executing events in the relay log is running. Possible values are Yes / No, and the values are exposed through the 'state' field. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_sent_bytes_countcloudsql.googleapis.com/database/mysql/sent_bytes_countNetwork bytes sent by MySQLbytesDelta count of bytes sent by MySQL process. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_slow_queries_countcloudsql.googleapis.com/database/mysql/slow_queries_countMySQL slow queries count.countThe total number of queries that took longer than long_query_time seconds. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_thread_cache_sizecloudsql.googleapis.com/database/mysql/thread_cache_sizeMySQL Thread Cache SizecountValue of the MySQL thread_cache_size configuration. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_thread_statecloudsql.googleapis.com/database/mysql/thread_stateMySQL threads statecountThe state of running threads by querying information_schema.processlist table, this information helps to understand the locking or contention issues. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_threadscloudsql.googleapis.com/database/mysql/threadsMySQL ThreadcountNumber of Threads. threads_cached indicates threads in the thread cache, threads_connected indicates currently open connections, threads_running indicates threads that are not sleeping. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_threads_created_countcloudsql.googleapis.com/database/mysql/threads_created_countMySQL Threads Created CountcountThreads created to handle connections, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_tmp_disk_tables_created_countcloudsql.googleapis.com/database/mysql/tmp_disk_tables_created_countMySQL Temporary Disk Tables Created CountcountInternal on-disk temporary tables created by the MySQL server while executing statements, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_tmp_files_created_countcloudsql.googleapis.com/database/mysql/tmp_files_created_countMySQL Temporary Files Created CountcountTemporary files created by the MySQL server, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_mysql_tmp_tables_created_countcloudsql.googleapis.com/database/mysql/tmp_tables_created_countMySQL Temporary Tables Created CountcountMySQL temporary tables created, since the last sample. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.

GCP PostgreSQL Instance

New OpsRamp MetricGoogle MetricMetric Display NameUnitDescription
google_cloudsql_database_postgresql_backends_in_waitcloudsql.googleapis.com/database/postgresql/backends_in_waitPostgreSQL backends in waitcountNumber of backends in wait in postgres instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_blocks_read_countcloudsql.googleapis.com/database/postgresql/blocks_read_countNumber of disk blocks read.countNumber of disk blocks read by this database. The source field distingushes actual reads from disk versus reads from buffer cache. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_checkpoint_countcloudsql.googleapis.com/database/postgresql/checkpoint_countCheckpoint countcountTotal checkpoints occurred. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_data_cache_hit_countcloudsql.googleapis.com/database/postgresql/data_cache/hit_countPostgreSQL data cache hit countcountTotal number of data cache hit read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_data_cache_hit_ratiocloudsql.googleapis.com/database/postgresql/data_cache/hit_ratioPostgreSQL data cache hit ratiocountRatio of data cache hit read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_data_cache_miss_countcloudsql.googleapis.com/database/postgresql/data_cache/miss_countPostgreSQL data cache miss countcountTotal number of data cache miss read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_deadlock_countcloudsql.googleapis.com/database/postgresql/deadlock_countDeadlocks countcountNumber of deadlocks detected for this database. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_new_connection_countcloudsql.googleapis.com/database/postgresql/new_connection_countPostgreSQL new connections countcountCount of new connections added to the postgres instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_num_backendscloudsql.googleapis.com/database/postgresql/num_backendsPostgreSQL ConnectionscountNumber of connections to the Cloud SQL PostgreSQL instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_num_backends_by_applicationcloudsql.googleapis.com/database/postgresql/num_backends_by_applicationPostgreSQL connections by applicationcountNumber of connections to the Cloud SQL PostgreSQL instance, grouped by applications. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_num_backends_by_statecloudsql.googleapis.com/database/postgresql/num_backends_by_statePostgreSQL Connections by StatecountNumber of connections to the Cloud SQL PostgreSQL instance, grouped by its state. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_replication_replica_byte_lagcloudsql.googleapis.com/database/postgresql/replication/replica_byte_lagLag bytesbytesReplication lag in bytes. Reported from the master per replica. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_statements_executed_countcloudsql.googleapis.com/database/postgresql/statements_executed_countStatements executed countcountTotal count of statements executed in postgresql instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_temp_bytes_written_countcloudsql.googleapis.com/database/postgresql/temp_bytes_written_countData (in bytes) written to temporarycountTotal amount of data (in bytes) written to temporary files by the queries per database. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_temp_files_written_countcloudsql.googleapis.com/database/postgresql/temp_files_written_countTemporary files used for writing datacountTotal number of temporary files used for writing data while performing algorithms such as join and sort. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_transaction_countcloudsql.googleapis.com/database/postgresql/transaction_countNumber of transactionscountDelta count of number of transactions. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_transaction_id_countcloudsql.googleapis.com/database/postgresql/transaction_id_countTransaction ID countcountDelta count of transaction ID. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_transaction_id_utilizationcloudsql.googleapis.com/database/postgresql/transaction_id_utilizationTransaction 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%. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_tuple_sizecloudsql.googleapis.com/database/postgresql/tuple_sizeNumber of tuples (rows) in the database.countNumber of tuples (rows) in the database. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_tuples_fetched_countcloudsql.googleapis.com/database/postgresql/tuples_fetched_countNumber of tuples fetchedcountTotal number of rows fetched as a result of queries per database in the PostgreSQL instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_tuples_processed_countcloudsql.googleapis.com/database/postgresql/tuples_processed_countNumber of rows processedcountNumber of tuples(rows) processed for a given database for operations like insert, update or delete. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_tuples_returned_countcloudsql.googleapis.com/database/postgresql/tuples_returned_countNumber of tuples returnedcountTotal number of rows scanned while processing the queries per database in the PostgreSQL instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_vacuum_oldest_transaction_agecloudsql.googleapis.com/database/postgresql/vacuum/oldest_transaction_ageOldest transaction agecountAge 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. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_write_ahead_log_flushed_bytes_countcloudsql.googleapis.com/database/postgresql/write_ahead_log/flushed_bytes_countPostgreSQL WAL flushed bytes countcountTotal size (bytes) of WAL flushed for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_write_ahead_log_inserted_bytes_countcloudsql.googleapis.com/database/postgresql/write_ahead_log/inserted_bytes_countPostgreSQL WAL inserted bytes countcountTotal size (bytes) of WAL inserted for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_write_ahead_log_redo_sizecloudsql.googleapis.com/database/postgresql/write_ahead_log/redo_sizePostgreSQL redo size metriccountThe size (bytes) of WAL to redo in case of recovery. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_postgresql_write_ahead_log_written_bytes_countcloudsql.googleapis.com/database/postgresql/write_ahead_log/written_bytes_countPostgreSQL WAL written bytes countcountTotal size (bytes) of WAL written for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.

GCP SQL Server Instance

New OpsRamp MetricGoogle MetricMetric Display NameUnitDescription
google_cloudsql_database_sqlserver_audits_sizecloudsql.googleapis.com/database/sqlserver/audits_sizeSize of stored audit files.bytesTracks the size in bytes of stored SQLServer audit files on an instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_audits_upload_countcloudsql.googleapis.com/database/sqlserver/audits_upload_countTotal number of successfully uploaded audits.countCounts total number of SQLServer audit file uploads to a GCS bucket and whether or not an upload was successful. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_connections_connection_reset_countcloudsql.googleapis.com/database/sqlserver/connections/connection_reset_countConnection resetscountTotal number of logins started from the connection pool since the last restart of SQL Server service. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_connections_login_attempt_countcloudsql.googleapis.com/database/sqlserver/connections/login_attempt_countLogin attemptscountTotal number of login attempts since the last restart of SQL Server service. This does not include pooled connections. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_connections_logout_countcloudsql.googleapis.com/database/sqlserver/connections/logout_countLogoutscountTotal number of logout operations since the last restart of SQL Server service. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_connections_processes_blockedcloudsql.googleapis.com/database/sqlserver/connections/processes_blockedProcesses blockedcountCurrent number of blocked processes. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_data_cache_hit_countcloudsql.googleapis.com/database/sqlserver/data_cache/hit_countSQL Server data cache hit countcountTotal number of data cache hit read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_data_cache_hit_ratiocloudsql.googleapis.com/database/sqlserver/data_cache/hit_ratioSQL Server data cache hit ratiocountRatio of successful data cache hit read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_data_cache_miss_countcloudsql.googleapis.com/database/sqlserver/data_cache/miss_countSQL Server data cache miss countcountTotal number of data cache miss read operations for this instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_databasescloudsql.googleapis.com/database/sqlserver/databasesSQL Server DatabasescountCurrent number of databases on the instance excluding system databases. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_memory_buffer_cache_hit_ratiocloudsql.googleapis.com/database/sqlserver/memory/buffer_cache_hit_ratioBuffer cache hit ratio%Current percentage of pages found in the buffer cache without having to read from disk. The ratio is the total number of cache hits divided by the total number of cache lookups. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_memory_checkpoint_page_countcloudsql.googleapis.com/database/sqlserver/memory/checkpoint_page_countCheckpoint pagescountTotal number of pages flushed to disk by a checkpoint or other operation that requires all dirty pages to be flushed. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_memory_free_list_stall_countcloudsql.googleapis.com/database/sqlserver/memory/free_list_stall_countFree list stallscountTotal number of requests that had to wait for a free page. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_memory_lazy_write_countcloudsql.googleapis.com/database/sqlserver/memory/lazy_write_countLazy writescountTotal 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. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_memory_memory_grants_pendingcloudsql.googleapis.com/database/sqlserver/memory/memory_grants_pendingMemory grants pendingcountCurrent number of processes waiting for a workspace memory grant. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_memory_page_life_expectancycloudsql.googleapis.com/database/sqlserver/memory/page_life_expectancyPage life expectancysecondsCurrent number of seconds a page will stay in the buffer pool without references. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_memory_page_operation_countcloudsql.googleapis.com/database/sqlserver/memory/page_operation_countPage operationscountTotal number of physical database page reads or writes. This statistic counts physical page reads or writes across all databases. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_replication_bytes_sent_to_replica_countcloudsql.googleapis.com/database/sqlserver/replication/bytes_sent_to_replica_countBytes sent to replicabytesTotal number of bytes sent to the remote availability replica. Before compression for async replica. Actual number of bytes for sync replica which has no compression. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_replication_log_apply_pending_queuecloudsql.googleapis.com/database/sqlserver/replication/log_apply_pending_queueLog apply pending queuecountCurrent number of log blocks that are waiting to be applied to all database replicas. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_replication_log_bytes_received_countcloudsql.googleapis.com/database/sqlserver/replication/log_bytes_received_countLog bytes receivedbytesTotal amount of log records received by the secondary replica for all databases. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_replication_recovery_queuecloudsql.googleapis.com/database/sqlserver/replication/recovery_queueRecovery queueKBCurrent amount of log records in kilobytes in the log files of the secondary replica that have not been redone. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_replication_redone_bytes_countcloudsql.googleapis.com/database/sqlserver/replication/redone_bytes_countRedone bytesbytesTotal amount of log records redone on all secondary databases. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_replication_resent_message_countcloudsql.googleapis.com/database/sqlserver/replication/resent_message_countResent messagescountTotal number of Always On messages resent. A resent message is a message that was attempted to be sent but was unable to complete and must be attempted to be sent again. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_schedulers_active_workerscloudsql.googleapis.com/database/sqlserver/schedulers/active_workersNumber of active workers per schedulercountCurrent number of workers that are active. An active worker is never preemptive, must have an associated task, and is either running, runnable, or suspended. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_schedulers_by_statuscloudsql.googleapis.com/database/sqlserver/schedulers/by_statusNumber of schedulerscountCurrent number of schedulers reporting a particular status. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_schedulers_current_taskscloudsql.googleapis.com/database/sqlserver/schedulers/current_tasksNumber of current tasks per schedulercountCurrent number of current tasks that are associated with a scheduler. 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). Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_schedulers_current_workerscloudsql.googleapis.com/database/sqlserver/schedulers/current_workersNumber of workers per schedulercountCurrent number of workers that are associated with a scheduler. It includes workers that are not assigned any task. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_schedulers_pending_disk_iocloudsql.googleapis.com/database/sqlserver/schedulers/pending_disk_ioDatabase Sqlserver Schedulers Pending Disk IocountCurrent number of pending I/Os that are waiting to be completed. Each scheduler has a list of pending I/Os that are checked to determine whether they have been completed every time there is a context switch. The count is incremented when the request is inserted. This count is decremented when the request is completed. This number does not indicate the state of the I/Os. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_schedulers_runnable_taskscloudsql.googleapis.com/database/sqlserver/schedulers/runnable_tasksNumber of workers with assigned tasks per schedulercountCurrent number of workers, with tasks assigned to them, that are waiting to be scheduled on the runnable queue. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_schedulers_work_queuecloudsql.googleapis.com/database/sqlserver/schedulers/work_queueNumber of pending tasks per schedulercountCurrent number of tasks in the pending queue. These tasks are waiting for a worker to pick them up. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_server_principalscloudsql.googleapis.com/database/sqlserver/server_principalsServer principalscountCurrent number of server principals on the instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_sql_agent_jobscloudsql.googleapis.com/database/sqlserver/sql_agent/jobsSQL Server agent jobscountCurrent number of SQL Server agent jobs on the instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_batch_request_countcloudsql.googleapis.com/database/sqlserver/transactions/batch_request_countBatch requestscountTotal number of Transact-SQL command batches received. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_deadlock_countcloudsql.googleapis.com/database/sqlserver/transactions/deadlock_countDeadlockscountTotal number of lock requests that resulted in a deadlock. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_forwarded_record_countcloudsql.googleapis.com/database/sqlserver/transactions/forwarded_record_countForwarded recordscountTotal number of records fetched through forwarded record pointers. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_full_scan_countcloudsql.googleapis.com/database/sqlserver/transactions/full_scan_countFull scanscountTotal number of unrestricted full scans. These can be either base-table or full-index scans. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_lock_wait_countcloudsql.googleapis.com/database/sqlserver/transactions/lock_wait_countLock waitscountTotal number of lock requests that required the caller to wait. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_lock_wait_timecloudsql.googleapis.com/database/sqlserver/transactions/lock_wait_timeLock wait timemsTotal time lock requests were waiting for locks. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_log_bytes_flushed_countcloudsql.googleapis.com/database/sqlserver/transactions/log_bytes_flushed_countLog bytes flushedbytesTotal number of log bytes flushed. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_page_split_countcloudsql.googleapis.com/database/sqlserver/transactions/page_split_countPage splitscountTotal number of page splits that occur as the result of overflowing index pages. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_probe_scan_countcloudsql.googleapis.com/database/sqlserver/transactions/probe_scan_countProbe scanscountTotal number of probe scans that are used to find at most one single qualified row in an index or base table directly. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_sql_compilation_countcloudsql.googleapis.com/database/sqlserver/transactions/sql_compilation_countSQL compilationscountTotal number of SQL compilations. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_sql_recompilation_countcloudsql.googleapis.com/database/sqlserver/transactions/sql_recompilation_countSQL recompilationscountTotal number of SQL recompilations. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_transactions_transaction_countcloudsql.googleapis.com/database/sqlserver/transactions/transaction_countTransactions startedcountTotal number of transactions started. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_xevents_sizecloudsql.googleapis.com/database/sqlserver/xevents_sizeSize of stored XEvents files.bytesTracks the size in bytes of stored SQLServer XEvents files on an instance. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.
google_cloudsql_database_sqlserver_xevents_upload_countcloudsql.googleapis.com/database/sqlserver/xevents_upload_countTotal number of successfully uploaded XEvents.countCounts total number of SQLServer XEvents file uploads to a GCS bucket and whether or not an upload was successful. Sampled every 60 seconds. After sampling, data is not visible for up to 165 seconds.

Event support

  • Supported
  • Configurable in OpsRamp Google Integration Discovery Profile.

External reference

Google Cloud SQL

MSSQL Advance Monitoring - Google Cloud

OpsRamp now supports the MSSQL Advance database monitoring for Google using the Gateway Collector.

Whitelisting Gateway IP in Google Cloud

In order to perform advance monitoring for Google cloud resources, we need to whitelist the IP of the host of the Gateway machine.

To whitelist the IP:

  1. Log in to the Google Cloud.
  2. In the Google Cloud console, go to the Cloud SQL page.
  3. To open the Overview page of an instance, click the instance name.
  4. Select Connections from the SQL navigation menu.
  5. Select the Public IP checkbox.
  6. Click Add network.
  7. In the Network field, enter the IP address or address range you want to allow connections from.
  8. Click Done.
  9. Click Save to update the instance.

Advance Monitoring configuration

Once you whitelist the gateway in Google Cloud, you can now configure for advance monitoring in OpsRamp portal.

  1. Log in to the OpsRamp portal.
  2. Go to Infrastructure > Resources > Google Cloud.
  3. Select Cloud SQL Database.
  4. From the Cloud SQL database details page, select a resource.
  5. In the resource details page, click settings.
  6. From the settings drop-down, click Assign Gateway Profile.
  7. Select a management profile from the drop-down menu.
  8. Click Assign.
  9. Select Credentials from the left hand navigation pane and click Add.
  10. Enter the below mentioned credential information:
FieldDescription
NameName for new credential.
DescriptionAdd a description of the credential.
TypeSelect as Database.
UsernameEnter the username of the resource created in Google Cloud.
PasswordEnter the password of the resource created in Google Cloud.
Confirm PasswordEnter the password again.
PortPort should be 1433.
Connection Time out (ms)Specify the timeout duration.
  1. Click Save.
  2. Select Monitors from the left hand navigation pane and click Assign Templates.
  3. In the Apply Templates page, select Collector Type as Gateway.
  4. Under Assign Templates, search for MSSQL templates and assign required templates.
  5. Select Metrics from the left hand navigation pane and you can see the monitoring data.