This page shows reference information for Cloud SQL metrics. You access these metrics through Google Cloud Observability.
To quickly see graphs of metric data, use the Metrics Explorer. For information on using this tool, see Metrics Explorer .
The "metric type" strings in this table must be prefixed
with cloudsql.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
"
.
Display name
Monitored resources
Labels
database/active_directory/domain_reachable
ALPHA
(project)
Active Directory domain reachable
database/active_directory/instance_available
ALPHA
(project)
Windows Authentication available
database/auto_failover_request_count
GA
(project)
Auto-failover Requests
database/available_for_failover
GA
(project)
Available for failover
database/cpu/reserved_cores
GA
(project)
CPU reserved cores
database/cpu/usage_time
GA
(project)
CPU usage
database/cpu/utilization
GA
(project)
CPU utilization
database/data_cache/bytes_used
GA
(project)
Data cache used
database/data_cache/quota
GA
(project)
Data cache quota
database/disk/bytes_used
GA
(project)
Bytes used
database/disk/bytes_used_by_data_type
BETA
(project)
Bytes used
data_type
:
A breakdown of instance disk usage per data_type, for example, 'data', 'tmp_data' or 'slow_log'.database/disk/provisioning/iops
GA
(project)
Provisioned IOPS
database/disk/provisioning/throughput
GA
(project)
Provisioned throughput
io_type
:
Direction of the throughput.database/disk/quota
GA
(project)
Disk quota
database/disk/read_bytes_count
GA
(project)
Disk read bytes
database/disk/read_ops_count
GA
(project)
Disk read IO
database/disk/utilization
GA
(project)
Disk utilization
database/disk/write_bytes_count
GA
(project)
Disk write bytes
database/disk/write_ops_count
GA
(project)
Disk write IO
database/instance_state
GA
(project)
Instance state
state
:
The state of the instance.database/memory/components
BETA
(project)
Memory components
component
:
Name of the component, one of [usage, cache and free].database/memory/quota
GA
(project)
Memory quota
database/memory/total_usage
GA
(project)
Total memory usage
database/memory/usage
GA
(project)
Memory usage
database/memory/utilization
GA
(project)
Memory utilization
database/mysql/aborted_clients_count
GA
(project)
MySQL Aborted Clients Count
database/mysql/aborted_connects_count
GA
(project)
MySQL Aborted Connects Count
database/mysql/conn_pool/avg_wait_time
BETA
(project)
MySQL Connection Pool Average Wait Time
database/mysql/conn_pool/pending_connections
BETA
(project)
MySQL Connection Pool Pending Connections
database/mysql/conn_pool/threads
BETA
(project)
MySQL Connection Pool Threads
status
:
Status of the connection pool threads e.g. 'active' or 'idle'.database/mysql/connections_count
GA
(project)
MySQL Connections Count
database/mysql/ddl_operations_count
GA
(project)
MySQL DDL Operations Count
operation_type
:
Kind of DDL operations, one of [create_table, drop_table, alter_table, rename_table, truncate_table].database/mysql/dml_operations_count
GA
(project)
MySQL DML Operations Count
operation_type
:
Kind of DML operations, one of [insert, insert_select, update, delete, replace, replace_select].database/mysql/handler_operations_count
GA
(project)
MySQL Handler Operations Count
operation_type
:
Kind of operation handler type, one of [delete, read_first, read_key, read_last, read_next, read_prev, read_rnd, read_rnd_next, update, write].database/mysql/innodb/active_transactions
GA
(project)
InnoDB Active Transactions
state
:
Values in bracket are meant for innodb_transaction_state, one of [Total, running, lock_wait, rolling_back, committing].database/mysql/innodb/active_trx_longest_time
GA
(project)
InnoDB Active TRX Longest Time
database/mysql/innodb/active_trx_rows_locked
GA
(project)
InnoDB Active TRX Rows Locked
database/mysql/innodb/active_trx_rows_modified
GA
(project)
InnoDB Active TRX Rows Modified
database/mysql/innodb/active_trx_total_time
GA
(project)
InnoDB Active TRX Total Time
database/mysql/innodb/adaptive_hash_operation_count
GA
(project)
Innodb AHI operations
operation_type
:
AHI operation type.database/mysql/innodb/ahi_search_count
GA
(project)
AHI or Btree searches
operation_type
:
Operation type.database/mysql/innodb/buffer_flush_sync_waits_count
GA
(project)
Innodb sync flushing waits
database/mysql/innodb/buffer_pool_pages
GA
(project)
InnoDB Buffer Pool Pages
innodb_page_type
:
Kind of InnoDB page, one of [dirty, free, Total]database/mysql/innodb/buffer_pool_read_requests_count
GA
(project)
Innodb Buffer Pool Read Requests Count
database/mysql/innodb/buffer_pool_reads_count
GA
(project)
Innodb Buffer Pool Reads Count
database/mysql/innodb/buffer_pool_write_requests_count
GA
(project)
InnoDB Buffer Pool Write Requests Count
database/mysql/innodb/data_cache/cache_hit_count
GA
(project)
MySQL data cache hit count
database/mysql/innodb/data_cache/cache_miss_count
GA
(project)
MySQL data cache miss count
database/mysql/innodb/data_cache/pages
GA
(project)
Innodb Pages in Data Cache
page_type
:
Page types in data cache.database/mysql/innodb/data_fsyncs_count
GA
(project)
Innodb Data Fsyncs Count
database/mysql/innodb/data_pending_fsyncs
GA
(project)
InnoDB Data Pending Fsyncs
database/mysql/innodb/data_pending_reads
GA
(project)
InnoDB Data Pending Reads
database/mysql/innodb/data_pending_writes
GA
(project)
InnoDB Data Pending Writes
database/mysql/innodb/deadlocks_count
GA
(project)
InnoDB Deadlocks Count
database/mysql/innodb/dictionary_memory
GA
(project)
MySQL InnoDB dictionary cache
database/mysql/innodb/history_list_length
GA
(project)
InnoDB History List Length
database/mysql/innodb/ibuf_merge_operation_count
GA
(project)
InnoDB merged records operation wise
operation_type
:
Kind of merge operation. One of ibuf_merges_insert,ibuf_merges_delete_mark,ibuf_merges_delete.database/mysql/innodb/ibuf_merges_count
GA
(project)
InnoDB change buffer merges.
database/mysql/innodb/innodb_log_waits_count
GA
(project)
Transaction waits for Innodb logbuffer flush
database/mysql/innodb/lock_timeout_count
GA
(project)
Innodb Row Lock Wait Timeout Count
database/mysql/innodb/lsn
GA
(project)
InnoDB LSN
lsn_type
:
Type of LSN being reported out of current/flushed/last_checkpoint.database/mysql/innodb/operation_disk_io_count
GA
(project)
Disk IO performed by InnoDB.
operation_type
:
Kind of Disk IO operation. One of innodb_data_reads, innodb_data_writes, innodb_log_writes, innodb_dblwr_writes.database/mysql/innodb/os_log_fsyncs_count
GA
(project)
Innodb OS Log Fsyncs Count
database/mysql/innodb/os_log_pending_fsyncs
GA
(project)
InnoDB OS Log Pending Fsyncs
database/mysql/innodb/os_log_pending_writes
GA
(project)
InnoDB OS Log Pending Writes
database/mysql/innodb/pages_read_count
GA
(project)
Innodb Pages Read Count
database/mysql/innodb/pages_written_count
GA
(project)
Innodb Pages Written Count
database/mysql/innodb/row_lock_time
GA
(project)
InnoDB Row Lock Time
database/mysql/innodb/row_lock_waits_count
GA
(project)
InnoDB Row Lock Waits Count
database/mysql/innodb/row_operations_count
GA
(project)
InnoDB Row Operations Count
operation_type
:
Kind of InnoDB row operations, one of [delete, insert, read, update]database/mysql/innodb_buffer_pool_pages_dirty
GA
(project)
InnoDB dirty pages
database/mysql/innodb_buffer_pool_pages_free
GA
(project)
InnoDB free pages
database/mysql/innodb_buffer_pool_pages_total
GA
(project)
InnoDB total pages
database/mysql/innodb_data_fsyncs
GA
(project)
InnoDB fsync calls
database/mysql/innodb_os_log_fsyncs
GA
(project)
InnoDB log fsync calls
database/mysql/innodb_pages_read
GA
(project)
InnoDB pages read
database/mysql/innodb_pages_written
GA
(project)
InnoDB pages written
database/mysql/max_connections
GA
(project)
MySQL Max Connections
database/mysql/memory/by_code_area
GA
(project)
Memory allocated by code area
code_area_group
:
Kind of Mysql code area, one of [innodb_engine,sql,performance_schema,temptable_engine,memory_engine,mysys]database/mysql/memory/by_event
GA
(project)
Memory allocated by events
event_type
:
Kind of Mysql event, one of [innodb_hash0hash,innodb_memory,innodb_row0sel,sql_table,sql_thd_main,sql_dd,sql_string,mysys_iocache]database/mysql/memory/global
GA
(project)
Global memory allocated
database/mysql/open_table_definitions
GA
(project)
MySQL open table definitions
database/mysql/open_tables
GA
(project)
MySQL open tables
database/mysql/opened_table_count
GA
(project)
MySQL opened table count
database/mysql/opened_table_definitions_count
GA
(project)
MySQL opened table definitions count
database/mysql/queries
GA
(project)
Queries
database/mysql/questions
GA
(project)
Questions
database/mysql/received_bytes_count
GA
(project)
Network bytes received by MySQL
database/mysql/replication/available_for_failover
DEPRECATED
(project)
Available for failover (Deprecated)
database/mysql/replication/last_io_errno
GA
(project)
Last I/O thread error number.
database/mysql/replication/last_sql_errno
GA
(project)
Last SQL thread error number.
database/mysql/replication/seconds_behind_master
GA
(project)
Replication lag
database/mysql/replication/slave_io_running
GA
(project)
Slave I/O thread running
database/mysql/replication/slave_io_running_state
GA
(project)
Slave I/O thread running state
state
:
The slave_io_running state of the slave.database/mysql/replication/slave_sql_running
GA
(project)
Slave SQL thread running
database/mysql/replication/slave_sql_running_state
GA
(project)
Slave SQL thread running state
state
:
The slave_sql_running state of the slave.database/mysql/sent_bytes_count
GA
(project)
Network bytes sent by MySQL
database/mysql/slow_queries_count
GA
(project)
MySQL slow queries count.
database/mysql/thread_cache_size
GA
(project)
MySQL Thread Cache Size
database/mysql/thread_state
GA
(project)
MySQL threads state
state
:
Thread state.database/mysql/threads
GA
(project)
MySQL Thread
thread_kind
:
Kind of the threads counted (threads_cached, threads_connected, threads_running).database/mysql/threads_created_count
GA
(project)
MySQL Threads Created Count
database/mysql/tmp_disk_tables_created_count
GA
(project)
MySQL Temporary Disk Tables Created Count
database/mysql/tmp_files_created_count
GA
(project)
MySQL Temporary Files Created Count
database/mysql/tmp_tables_created_count
GA
(project)
MySQL Temporary Tables Created Count
database/network/connections
GA
(project)
Cloud SQL Connections
database/network/received_bytes_count
GA
(project)
Received bytes
database/network/sent_bytes_count
GA
(project)
Sent bytes
destination
:
Deprecated and not populated.database/postgresql/backends_in_wait
GA
(project)
PostgreSQL backends in wait
backend_type
:
Type of the backend, one of [autovacuum launcher, autovacuum worker, logical replication launcher, logical replication worker, parallel worker, background writer, client backend, checkpointer, archiver, startup, walreceiver, walsender, walwriter].wait_event
:
Name of the wait event, such as AutoVacuumMain, ClientRead.wait_event_type
:
Type of wait event, one of [Activity, BufferPin, Extension, IO, IPC, Lock, LWLock, Timeout].database/postgresql/blocks_read_count
GA
(project)
Number of disk blocks read.
database
:
Name of the database.source
:
Type of data block, one of [disk, buffer_cache].database/postgresql/checkpoint_count
GA
(project)
Checkpoint count
checkpoint_type
:
Type of checkpoint, can be one of [scheduled, requested].database/postgresql/data_cache/hit_count
GA
(project)
PostgreSQL data cache hit count
database/postgresql/data_cache/hit_ratio
GA
(project)
PostgreSQL data cache hit ratio
database/postgresql/data_cache/miss_count
GA
(project)
PostgreSQL data cache miss count
database/postgresql/deadlock_count
GA
(project)
Deadlocks count
database
:
Name of the database.database/postgresql/external_sync/initial_sync_complete
ALPHA
(project)
Initial sync complete
database/postgresql/external_sync/max_replica_byte_lag
ALPHA
(project)
Max lag bytes
database/postgresql/insights/aggregate/execution_time
GA
(project)
Execution time
user
:
The user of the database.client_addr
:
The IP address of the database client.database/postgresql/insights/aggregate/io_time
GA
(project)
IO time
user
:
The user of the database.client_addr
:
The IP address of the database client.io_type
:
The IO type (read/write).database/postgresql/insights/aggregate/latencies
GA
(project)
Latency
user
:
The user of the database.client_addr
:
The IP address of the database client.database/postgresql/insights/aggregate/lock_time
GA
(project)
Aggregated lock time
user
:
The user of the database.client_addr
:
The IP address of the database client.lock_type
:
The lock type (lw/hw/buffer_pin).database/postgresql/insights/aggregate/row_count
GA
(project)
Affected rows
user
:
The user of the database.client_addr
:
The IP address of the database client.user
:
The user of the database.client_addr
:
The IP address of the database client.access_type
:
The block access type (hit/miss).database/postgresql/insights/perquery/execution_time
GA
(project)
Per query execution times
querystring
:
The normalized query.user
:
The user of the database.client_addr
:
The IP address of the database client.query_hash
:
A unique hash of the query string.database/postgresql/insights/perquery/io_time
GA
(project)
Per query IO time
querystring
:
The normalized query.user
:
The user of the database.client_addr
:
The IP address of the database client.io_type
:
The IO type (read/write).query_hash
:
A unique hash of the query string.database/postgresql/insights/perquery/latencies
GA
(project)
Per query latency
querystring
:
The normalized query.user
:
The user of the database.client_addr
:
The IP address of the database client.query_hash
:
A unique hash of the query string.database/postgresql/insights/perquery/lock_time
GA
(project)
Per query lock time
querystring
:
The normalized query.user
:
The user of the database.client_addr
:
The IP address of the database client.lock_type
:
The lock type (lw/hw/buffer_pin).query_hash
:
A unique hash of the query string.database/postgresql/insights/perquery/row_count
GA
(project)
Per query affected rows
querystring
:
The normalized query.user
:
The user of the database.client_addr
:
The IP address of the database client.query_hash
:
A unique hash of the query string.querystring
:
The normalized query.user
:
The user of the database.client_addr
:
The IP address of the database client.access_type
:
The block access type (hit/miss).query_hash
:
A unique hash of the query string.database/postgresql/insights/pertag/execution_time
GA
(project)
Per tag execution time
user
:
The user of the database.client_addr
:
The IP address of the database client.action
:
The name of the action.application
:
The name of the application.controller
:
The name of the controller.db_driver
:
The name of the db_driver.framework
:
The name of the framework.route
:
The name of the route.tag_hash
:
A unique hash of the tag string.database/postgresql/insights/pertag/io_time
GA
(project)
Per tag IO time
user
:
The user of the database.client_addr
:
The IP address of the database client.action
:
The name of the action.application
:
The name of the application.controller
:
The name of the controller.db_driver
:
The name of the db_driver.framework
:
The name of the framework.route
:
The name of the route.io_type
:
The IO type (read/write).tag_hash
:
A unique hash of the tag string.database/postgresql/insights/pertag/latencies
GA
(project)
Per tag latency
user
:
The user of the database.client_addr
:
The IP address of the database client.action
:
The name of the action.application
:
The name of the application.controller
:
The name of the controller.db_driver
:
The name of the db_driver.framework
:
The name of the framework.route
:
The name of the route.tag_hash
:
A unique hash of the tag string.database/postgresql/insights/pertag/lock_time
GA
(project)
Per tag lock time
user
:
The user of the database.client_addr
:
The IP address of the database client.action
:
The name of the action.application
:
The name of the application.controller
:
The name of the controller.db_driver
:
The name of the db_driver.framework
:
The name of the framework.route
:
The name of the route.lock_type
:
The lock type (lw/hw/buffer_pin).tag_hash
:
A unique hash of the tag string.database/postgresql/insights/pertag/row_count
GA
(project)
Per tag affected rows
user
:
The user of the database.client_addr
:
The IP address of the database client.action
:
The name of the action.application
:
The name of the application.controller
:
The name of the controller.db_driver
:
The name of the db_driver.framework
:
The name of the framework.route
:
The name of the route.tag_hash
:
A unique hash of the tag string.user
:
The user of the database.client_addr
:
The IP address of the database client.action
:
The name of the action.application
:
The name of the application.controller
:
The name of the controller.db_driver
:
The name of the db_driver.framework
:
The name of the framework.route
:
The name of the route.access_type
:
The block access type (hit/miss).tag_hash
:
A unique hash of the tag string.database/postgresql/new_connection_count
GA
(project)
PostgreSQL new connections count
database
:
Name of the database, such as testdb.database/postgresql/num_backends
GA
(project)
PostgreSQL Connections
database
:
Name of the database.database/postgresql/num_backends_by_application
GA
(project)
PostgreSQL connections by application
application
:
Name of the application.database/postgresql/num_backends_by_state
GA
(project)
PostgreSQL Connections by State
database
:
Name of the database.state
:
Connection state, one of [idle, active, idle_in_transaction, idle_in_transaction_aborted, disabled or fastpath_function_call].database/postgresql/replication/replica_byte_lag
GA
(project)
Lag bytes
replica_name
:
Name of the replica.replica_lag_type
:
Type of lag. This can be either replay_location, flush_location, write_location or sent_location.database/postgresql/statements_executed_count
GA
(project)
Statements executed count
database
:
Name of the database.operation_type
:
Type of the operation performed.database/postgresql/temp_bytes_written_count
GA
(project)
Data (in bytes) written to temporary
database
:
Name of the database.database/postgresql/temp_files_written_count
GA
(project)
Temporary files used for writing data
database
:
Name of the database.database/postgresql/transaction_count
GA
(project)
Number of transactions
database
:
Name of the database.transaction_type
:
transaction_type can be commit or rollback.database/postgresql/transaction_id_count
GA
(project)
Transaction ID count
action
:
Type of action, one of ["assigned" - count of transaction IDs assigned and consumed by the instance; "frozen" - count of transaction IDs replenished by the VACUUM`s freeze operation].database/postgresql/transaction_id_utilization
GA
(project)
Transaction ID utilization
database/postgresql/tuple_size
GA
(project)
Number of tuples (rows) in the database.
database
:
Name of the database.tuple_state
:
Type of tuple state, one of [live, dead].database/postgresql/tuples_fetched_count
GA
(project)
Number of tuples fetched
database
:
Name of the database.database/postgresql/tuples_processed_count
GA
(project)
Number of rows processed
operation_type
:
Type of database operation, one of [insert, update, delete].database
:
Name of the database.database/postgresql/tuples_returned_count
GA
(project)
Number of tuples returned
database
:
Name of the database.database/postgresql/vacuum/oldest_transaction_age
GA
(project)
Oldest transaction age
oldest_transaction_type
:
oldest transaction type can be one of [running, prepared, replication_slot, replica].database/postgresql/write_ahead_log/flushed_bytes_count
GA
(project)
PostgreSQL WAL flushed bytes count
database/postgresql/write_ahead_log/inserted_bytes_count
GA
(project)
PostgreSQL WAL inserted bytes count
database/postgresql/write_ahead_log/redo_size
GA
(project)
PostgreSQL redo size metric
database/postgresql/write_ahead_log/written_bytes_count
GA
(project)
PostgreSQL WAL written bytes count
database/replication/log_archive_failure_count
GA
(project)
Number of log archival failures.
database/replication/log_archive_success_count
GA
(project)
Number of log archival successes.
database/replication/network_lag
GA
(project)
Network lag
database/replication/replica_lag
GA
(project)
Replication lag
database/replication/state
BETA
(project)
Replication state
state
:
State of replication:"Running" - Replication is active and running;"Stopped" - Replication is inactive and stopped;"Error" - There is an error happening and replication is stopped.database/sqlserver/audits_size
GA
(project)
Size of stored audit files.
database/sqlserver/audits_upload_count
GA
(project)
Total number of successfully uploaded audits.
upload_status
:
Upload status of latest audit file.database/sqlserver/connections/connection_reset_count
GA
(project)
Connection resets
database/sqlserver/connections/login_attempt_count
GA
(project)
Login attempts
database/sqlserver/connections/logout_count
GA
(project)
Logouts
database/sqlserver/connections/processes_blocked
GA
(project)
Processes blocked
database/sqlserver/data_cache/hit_count
GA
(project)
SQL Server data cache hit count
database/sqlserver/data_cache/hit_ratio
GA
(project)
SQL Server data cache hit ratio
database/sqlserver/data_cache/miss_count
GA
(project)
SQL Server data cache miss count
database/sqlserver/databases
GA
(project)
SQL Server Databases
state
:
Database state, for example, 'ONLINE' or 'SUSPECT'.recovery_model
:
Database recovery model, one of [FULL, BULK_LOGGED, SIMPLE].is_cdc_enabled
:
(BOOL)
Indicates whether CDC is enabled.is_published
:
(BOOL)
Indicates whether a database is published.auto_close
:
(BOOL)
Indicates whether auto-close is enabled on a database.database/sqlserver/external_sync/primary_to_replica_connection_health
ALPHA
(project)
Primary to Replica connectivity
database/sqlserver/memory/buffer_cache_hit_ratio
GA
(project)
Buffer cache hit ratio
database/sqlserver/memory/checkpoint_page_count
GA
(project)
Checkpoint pages
database/sqlserver/memory/free_list_stall_count
GA
(project)
Free list stalls
database/sqlserver/memory/lazy_write_count
GA
(project)
Lazy writes
database/sqlserver/memory/memory_grants_pending
GA
(project)
Memory grants pending
database/sqlserver/memory/page_life_expectancy
GA
(project)
Page life expectancy
database/sqlserver/memory/page_operation_count
GA
(project)
Page operations
operation
:
Page operation, one of [Read, Write].database/sqlserver/replication/bytes_sent_to_replica_count
GA
(project)
Bytes sent to replica
replica_name
:
Replica name, for example, 'ag:0975ec5e220191d' or 'ag:58cb483ac3f7083'.database/sqlserver/replication/log_apply_pending_queue
GA
(project)
Log apply pending queue
database/sqlserver/replication/log_bytes_received_count
GA
(project)
Log bytes received
database/sqlserver/replication/recovery_queue
GA
(project)
Recovery queue
database/sqlserver/replication/redone_bytes_count
GA
(project)
Redone bytes
replica_name
:
Replica name, for example, 'ag:0975ec5e220191d' or 'ag:58cb483ac3f7083'.database/sqlserver/schedulers/active_workers
GA
(project)
Number of active workers per scheduler
scheduler_id
:
Identifier of the scheduler, for example, '3' or 'Internal'.database/sqlserver/schedulers/by_status
GA
(project)
Number of schedulers
status
:
Scheduler status, one of [HIDDEN ONLINE, HIDDEN OFFLINE, VISIBLE ONLINE, VISIBLE OFFLINE, VISIBLE ONLINE (DAC), HOT_ADDED].is_internal
:
(BOOL)
Indicates whether the scheduler is internal.database/sqlserver/schedulers/current_tasks
GA
(project)
Number of current tasks per scheduler
scheduler_id
:
Identifier of the scheduler, for example, '3' or 'Internal'.database/sqlserver/schedulers/current_workers
GA
(project)
Number of workers per scheduler
scheduler_id
:
Identifier of the scheduler, for example, '3' or 'Internal'.database/sqlserver/schedulers/pending_disk_io
GA
(project)
Number of pending I/O operations per scheduler
scheduler_id
:
Identifier of the scheduler, for example, '3' or 'Internal'.database/sqlserver/schedulers/runnable_tasks
GA
(project)
Number of workers with assigned tasks per scheduler
scheduler_id
:
Identifier of the scheduler, for example, '3' or 'Internal'.database/sqlserver/schedulers/work_queue
GA
(project)
Number of pending tasks per scheduler
scheduler_id
:
Identifier of the scheduler, for example, '3' or 'Internal'.database/sqlserver/server_principals
GA
(project)
Server principals
type
:
Server principal type, one of [SQL_LOGIN, WINDOWS_LOGIN, WINDOWS_GROUP, SERVER_ROLE, CERTIFICATE_MAPPED_LOGIN, EXTERNAL_LOGIN, EXTERNAL_GROUP, ASYMMETRIC_KEY_MAPPED_LOGIN].is_enabled
:
(BOOL)
Indicates whether a server principal is enabled.database/sqlserver/sql_agent/jobs
GA
(project)
SQL Server agent jobs
is_enabled
:
(BOOL)
Indicates whether a job is enabled.last_run_outcome
:
Last outcome of a job run, one of [Fail, Succeed, Retry, Cancel, In progress, Unknown].database/sqlserver/transactions/batch_request_count
GA
(project)
Batch requests
database/sqlserver/transactions/deadlock_count
GA
(project)
Deadlocks
locked_resource
:
Locked resource, for example, 'Page' or 'Database'.database/sqlserver/transactions/forwarded_record_count
GA
(project)
Forwarded records
database/sqlserver/transactions/full_scan_count
GA
(project)
Full scans
database/sqlserver/transactions/lock_wait_count
GA
(project)
Lock waits
locked_resource
:
Locked resource, for example, 'Page' or 'Database'.database/sqlserver/transactions/lock_wait_time
GA
(project)
Lock wait time
locked_resource
:
Locked resource, for example, 'Page' or 'Database'.database/sqlserver/transactions/log_bytes_flushed_count
GA
(project)
Log bytes flushed
database
:
Database name, one of [tempdb, model, msdb, mssqlsystemresource, master, other].database/sqlserver/transactions/page_split_count
GA
(project)
Page splits
database/sqlserver/transactions/probe_scan_count
GA
(project)
Probe scans
database/sqlserver/transactions/sql_compilation_count
GA
(project)
SQL compilations
database/sqlserver/transactions/sql_recompilation_count
GA
(project)
SQL recompilations
database/sqlserver/transactions/transaction_count
GA
(project)
Transactions started
database
:
Database name, one of [tempdb, model, msdb, mssqlsystemresource, master, other].database/sqlserver/xevents_size
GA
(project)
Size of stored XEvents files.
database/sqlserver/xevents_upload_count
GA
(project)
Total number of successfully uploaded XEvents.
upload_status
:
Upload status of latest XEvents file.database/state
DEPRECATED
(project)
State
database/swap/bytes_used
GA
(project)
Swap space usage
database/swap/pages_swapped_in_count
GA
(project)
Pages Swapped In Count
database/swap/pages_swapped_out_count
GA
(project)
Pages Swapped Out Count
database/up
GA
(project)
Server up
database/uptime
GA
(project)
Uptime
per_database/conn_pool/client_connections
BETA
(project)
Client connections
status
:
Status of the client connection e.g. 'active' or 'waiting'.per_database/conn_pool/client_connections_avg_wait_time
BETA
(project)
Average wait time
per_database/conn_pool/num_pools
BETA
(project)
Number of connection pools
per_database/conn_pool/server_connections
BETA
(project)
Server connections
status
:
Status of the server connection e.g. 'active' or 'idle'.per_database/postgresql/external_sync/initial_sync_complete
GA
(project)
External server migration phase
per_database/postgresql/external_sync/replication_byte_lag
GA
(project)
Exernal server replication byte lag
Table generated at 2025-08-28 21:10:54 UTC.
What's next
- Learn how monitoring works in Google Cloud with the Introduction to Cloud Monitoring .
- Learn how to use Metrics Explorer .
- See the complete Metrics list for all Google Cloud products.