MySQL integration metrics

The official Datadog integration for monitoring MySQL. It collects 255 metrics.

Official summary

Collect performance schema metrics, query throughput, custom metrics, and more.

Metric types

  • gauge (value at a point in time): 220
  • count (occurrences in the interval): 35

Metrics

Descriptions are the official definitions, unedited.

MetricTypeUnit
mysql.binlog.cache_disk_useThe number of transactions that used the temporary binary log cache but that exceeded the value of binlog_cache_size and used a temporary file to store statements from the transaction.gaugetransaction
mysql.binlog.cache_useThe number of transactions that used the binary log cache.gaugetransaction
mysql.binlog.disk_useTotal binary log file size.gaugebyte
mysql.galera.wsrep_cert_deps_distanceShows the average distance between the lowest and highest sequence number, or seqno, values that the node can possibly apply in parallel.gauge-
mysql.galera.wsrep_cluster_sizeThe current number of nodes in the Galera cluster.gaugenode
mysql.galera.wsrep_flow_control_pausedShows the fraction of the time, since FLUSH STATUS was last called, that the node paused due to Flow Control.gaugefraction
mysql.galera.wsrep_flow_control_paused_nsShows the pause time due to Flow Control, in nanoseconds.countnanosecond
mysql.galera.wsrep_flow_control_recvShows the number of times the galera node has received a pausing Flow Control message from otherscount-
mysql.galera.wsrep_flow_control_sentShows the number of times the galera node has sent a pausing Flow Control message to otherscount-
mysql.galera.wsrep_local_cert_failuresTotal number of local transactions that failed certification test.count-
mysql.galera.wsrep_local_recv_queueShows the current (instantaneous) size of the local received queue.gauge-
mysql.galera.wsrep_local_recv_queue_avgShows the average size of the local received queue since the last FLUSH STATUS query.gauge-
mysql.galera.wsrep_local_send_queueShow the current (instantaneous) size of the send queue length since the last FLUSH STATUS query.gauge-
mysql.galera.wsrep_local_send_queue_avgShow an average for the send queue length since the last FLUSH STATUS query.gauge-
mysql.galera.wsrep_local_stateInternal Galera cluster state numbergauge-
mysql.galera.wsrep_receivedTotal number of write-sets received from other nodes.gauge-
mysql.galera.wsrep_received_bytesTotal size (in bytes) of writesets received from other nodes.gauge-
mysql.galera.wsrep_replicated_bytesTotal size (in bytes) of writesets sent to other nodes.gauge-
mysql.index.deletesThe number of delete operations using an index. Resets to 0 upon database restart.countoperation
mysql.index.readsThe number of read operations using an index. Resets to 0 upon database restart.countoperation
mysql.index.sizeSize of index in bytesgaugebyte
mysql.index.updatesThe number of update operations using an index. Resets to 0 upon database restart.countoperation
mysql.info.schema.sizeSize of schemas in MiBgaugemebibyte
mysql.info.table.data_sizeSize of tables data in MiBgaugemebibyte
mysql.info.table.index_sizeSize of tables index in MiBgaugemebibyte
mysql.info.table.rows.changedTotal number of rows changed per table (Percona userstat only)countrow
mysql.info.table.rows.readTotal number of rows read per table (Percona userstat only)countrow
mysql.innodb.active_transactionsThe number of active transactions on InnoDB tables.gaugeoperation
mysql.innodb.buffer_pool_dataThe total number of bytes in the InnoDB buffer pool containing data. The number includes both dirty and clean pages.gaugebyte
mysql.innodb.buffer_pool_dirtyThe total current number of bytes held in dirty pages in the InnoDB buffer pool.gaugebyte
mysql.innodb.buffer_pool_freeThe number of free bytes in the InnoDB Buffer Pool.gaugebyte
mysql.innodb.buffer_pool_pages_dataThe number of pages in the InnoDB buffer pool containing data. The number includes both dirty and clean pages.gaugepage
mysql.innodb.buffer_pool_pages_dirtyThe current number of dirty pages in the InnoDB buffer pool.gaugepage
mysql.innodb.buffer_pool_pages_flushedThe number of requests to flush pages from the InnoDB buffer pool.gaugepage/second
mysql.innodb.buffer_pool_pages_freeThe number of free pages in the InnoDB buffer pool.gaugepage
mysql.innodb.buffer_pool_pages_totalThe total size of the InnoDB buffer pool, in pages.gaugepage
mysql.innodb.buffer_pool_read_aheadThe number of pages read into the InnoDB buffer pool by the read-ahead background thread.gaugepage/second
mysql.innodb.buffer_pool_read_ahead_evictedThe number of pages read into the InnoDB buffer pool by the read-ahead background thread that were subsequently evicted without having been accessed by queries.gaugepage/second
mysql.innodb.buffer_pool_read_ahead_rndThe number of random read-aheads initiated by InnoDB. This happens when a query scans a large portion of a table but in random order.gaugeoperation
mysql.innodb.buffer_pool_read_requestsThe number of logical read requests.gaugeread/second
mysql.innodb.buffer_pool_readsThe number of logical reads that InnoDB could not satisfy from the buffer pool, and had to read directly from disk.gaugeread/second
mysql.innodb.buffer_pool_totalThe total number of bytes in the InnoDB Buffer Pool.gaugebyte
mysql.innodb.buffer_pool_usedThe number of used bytes in the InnoDB Buffer Pool.gaugebyte
mysql.innodb.buffer_pool_utilizationThe utilization of the InnoDB Buffer Pool.gaugefraction
mysql.innodb.buffer_pool_wait_freeWhen InnoDB needs to read or create a page and no clean pages are available, InnoDB flushes some dirty pages first and waits for that operation to finish. This counter counts instances of these waits.countwait
mysql.innodb.buffer_pool_write_requestsThe number of writes done to the InnoDB buffer pool.gaugewrite/second
mysql.innodb.checkpoint_ageCheckpoint age as shown in the LOG section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.current_row_locksThe number of current row locks.gaugelock
mysql.innodb.current_transactionsCurrent InnoDB transactionsgaugetransaction
mysql.innodb.data_fsyncsThe number of fsync() operations per second.gaugeoperation/second
mysql.innodb.data_pending_fsyncsThe current number of pending fsync() operations.gaugeoperation
mysql.innodb.data_pending_readsThe current number of pending reads.gaugeread
mysql.innodb.data_pending_writesThe current number of pending writes.gaugewrite
mysql.innodb.data_readThe amount of data read per second.gaugebyte/second
mysql.innodb.data_readsThe rate of data reads.gaugeread/second
mysql.innodb.data_writesThe rate of data writes.gaugewrite/second
mysql.innodb.data_writtenThe amount of data written per second.gaugebyte/second
mysql.innodb.dblwr_pages_writtenThe number of pages written per second to the doublewrite buffer.gaugepage/second
mysql.innodb.dblwr_writesThe number of doublewrite operations performed per second.gaugebyte/second
mysql.innodb.deadlocksThe number of deadlocks.countlock
mysql.innodb.hash_index_cells_totalTotal number of cells of the adaptive hash indexgauge-
mysql.innodb.hash_index_cells_usedNumber of used cells of the adaptive hash indexgauge-
mysql.innodb.history_list_lengthHistory list length as shown in the TRANSACTIONS section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.ibuf_free_listInsert buffer free list, as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.ibuf_mergedInsert buffer and adaptative hash index mergedgaugeoperation
mysql.innodb.ibuf_merged_delete_marksInsert buffer and adaptative hash index merged delete marksgaugeoperation
mysql.innodb.ibuf_merged_deletesInsert buffer and adaptative hash index merged deletegaugeoperation
mysql.innodb.ibuf_merged_insertsInsert buffer and adaptative hash index merged insertsgaugeoperation
mysql.innodb.ibuf_mergesInsert buffer and adaptative hash index mergesgaugeoperation
mysql.innodb.ibuf_segment_sizeInsert buffer segment size, as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.ibuf_sizeInsert buffer size, as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.lock_structsLock structsgaugeoperation
mysql.innodb.locked_tablesLocked tablesgaugeoperation
mysql.innodb.log_waitsThe number of times that the log buffer was too small and a wait was required for it to be flushed before continuing.gaugewait/second
mysql.innodb.log_write_requestsThe number of write requests for the InnoDB redo log.gaugewrite/second
mysql.innodb.log_writesThe number of physical writes to the InnoDB redo log file.gaugewrite/second
mysql.innodb.lsn_currentLog sequence number as shown in the LOG section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.lsn_flushedFlushed up to log sequence number as shown in the LOG section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.lsn_last_checkpointLog sequence number last checkpoint as shown in the LOG section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.mem_adaptive_hashAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output.gaugebyte
mysql.innodb.mem_additional_poolAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output. Only available in MySQL 5.6.gaugebyte
mysql.innodb.mem_dictionaryAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output.gaugebyte
mysql.innodb.mem_file_systemAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.mem_lock_systemAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.mem_page_hashAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.mem_recovery_systemAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.mem_totalAs shown in the BUFFER POOL AND MEMORY section of the SHOW ENGINE INNODB STATUS output.gaugebyte
mysql.innodb.mutex_os_waitsThe rate of mutex OS waits. Only available in MySQL 5.6 and 5.7.gaugeevent/second
mysql.innodb.mutex_spin_roundsThe rate of mutex spin rounds. Only available in MySQL 5.6 and 5.7.gaugeevent/second
mysql.innodb.mutex_spin_waitsThe rate of mutex spin waits. Only available in MySQL 5.6 and 5.7.gaugeevent/second
mysql.innodb.os_file_fsyncs(Delta) The total number of fsync() operations performed by InnoDB.gaugeoperation
mysql.innodb.os_file_reads(Delta) The total number of files reads performed by read threads within InnoDB.gaugeoperation
mysql.innodb.os_file_writes(Delta) The total number of file writes performed by write threads within InnoDB.gaugeoperation
mysql.innodb.os_log_fsyncsThe rate of fsync writes to the log file.gaugewrite/second
mysql.innodb.os_log_pending_fsyncsNumber of pending InnoDB log fsync (sync-to-disk) requests.gaugeoperation
mysql.innodb.os_log_pending_writesNumber of pending InnoDB log writes.gaugewrite
mysql.innodb.os_log_writtenNumber of bytes written to the InnoDB log.gaugebyte/second
mysql.innodb.pages_createdNumber of InnoDB pages created.gaugepage/second
mysql.innodb.pages_readNumber of InnoDB pages read.gaugepage/second
mysql.innodb.pages_writtenNumber of InnoDB pages written.gaugepage/second
mysql.innodb.pending_aio_log_iosAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.pending_aio_sync_iosAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.pending_buffer_pool_flushesAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gaugeflush
mysql.innodb.pending_checkpoint_writesAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.pending_ibuf_aio_readsAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.pending_log_flushesAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output. Only available in MySQL 5.6 and 5.7.gaugeflush
mysql.innodb.pending_log_writesAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output. Only available in MySQL 5.6 and 5.7.gaugewrite
mysql.innodb.pending_normal_aio_readsAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gaugeread
mysql.innodb.pending_normal_aio_writesAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gaugewrite
mysql.innodb.queries_insideAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gaugequery
mysql.innodb.queries_queuedAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gaugequery
mysql.innodb.read_viewsAs shown in the FILE I/O section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.row_lock_current_waitsThe number of row locks currently being waited for by operations on InnoDB tables.gauge-
mysql.innodb.row_lock_timeThe time spent acquiring row locks.gaugemillisecond
mysql.innodb.row_lock_waitsThe number of times per second a row lock had to be waited for.gaugeevent/second
mysql.innodb.rows_deletedNumber of rows deleted from InnoDB tables.gaugerow/second
mysql.innodb.rows_insertedNumber of rows inserted into InnoDB tables.gaugerow/second
mysql.innodb.rows_readNumber of rows read from InnoDB tables.gaugerow/second
mysql.innodb.rows_updatedNumber of rows updated in InnoDB tables.gaugerow/second
mysql.innodb.s_lock_os_waitsAs shown in the SEMAPHORES section of the SHOW ENGINE INNODB STATUS outputgauge/second
mysql.innodb.s_lock_spin_roundsAs shown in the SEMAPHORES section of the SHOW ENGINE INNODB STATUS output.gauge/second
mysql.innodb.s_lock_spin_waitsAs shown in the SEMAPHORES section of the SHOW ENGINE INNODB STATUS output.gaugewait/second
mysql.innodb.semaphore_wait_timeSemaphore wait timegauge-
mysql.innodb.semaphore_waitsThe number semaphore currently being waited for by operations on InnoDB tables.gauge-
mysql.innodb.tables_in_useTables in usegaugeoperation
mysql.innodb.x_lock_os_waitsAs shown in the SEMAPHORES section of the SHOW ENGINE INNODB STATUS output.gaugewait/second
mysql.innodb.x_lock_spin_roundsAs shown in the SEMAPHORES section of the SHOW ENGINE INNODB STATUS output.gauge-
mysql.innodb.x_lock_spin_waitsAs shown in the SEMAPHORES section of the SHOW ENGINE INNODB STATUS output.gaugewait
mysql.myisam.key_buffer_bytes_unflushedMyISAM key buffer bytes unflushed.gaugebyte
mysql.myisam.key_buffer_bytes_usedMyISAM key buffer bytes used.gaugebyte
mysql.myisam.key_buffer_sizeSize of the buffer used for index blocks.gaugebyte
mysql.myisam.key_read_requestsThe number of requests to read a key block from the MyISAM key cache.gaugeread/second
mysql.myisam.key_readsThe number of physical reads of a key block from disk into the MyISAM key cache. If key_reads is large, then your key_buffer_size value is probably too small. The cache miss rate can be calculated as key_reads/key_read_requests.gaugeread/second
mysql.myisam.key_write_requestsThe number of requests to write a key block to the MyISAM key cache.gaugewrite/second
mysql.myisam.key_writesThe number of physical writes of a key block from the MyISAM key cache to disk.gaugewrite/second
mysql.net.aborted_clientsThe number of connections that were aborted because the client died without closing the connection properly.gaugeconnection/second
mysql.net.aborted_connectsThe number of failed attempts to connect to the MySQL server.gaugeconnection/second
mysql.net.connectionsThe rate of connections to the server.gaugeconnection/second
mysql.net.max_connectionsThe maximum number of connections that have been in use simultaneously since the server started.gaugeconnection
mysql.net.max_connections_availableThe maximum permitted number of simultaneous client connections.gaugeconnection
mysql.performance.bytes_receivedThe number of bytes received from all clients.gaugebyte/second
mysql.performance.bytes_sentThe number of bytes sent to all clients.gaugebyte/second
mysql.performance.com_deleteThe rate of delete statements.gaugequery/second
mysql.performance.com_delete_multiThe rate of delete-multi statements.gaugequery/second
mysql.performance.com_insertThe rate of insert statements.gaugequery/second
mysql.performance.com_insert_selectThe rate of insert-select statements.gaugequery/second
mysql.performance.com_loadThe rate of load statements.gaugequery/second
mysql.performance.com_replaceThe rate of replace statements.gaugequery/second
mysql.performance.com_replace_selectThe rate of replace-select statements.gaugequery/second
mysql.performance.com_selectThe rate of select statements.gaugequery/second
mysql.performance.com_updateThe rate of update statements.gaugequery/second
mysql.performance.com_update_multiThe rate of update-multi.gaugequery/second
mysql.performance.cpu_timePercentage of CPU time spent by MySQL.gaugepercent
mysql.performance.created_tmp_disk_tablesThe rate of internal on-disk temporary tables created by second by the server while executing statements.gaugetable/second
mysql.performance.created_tmp_filesThe rate of temporary files created by second.gaugefile/second
mysql.performance.created_tmp_tablesThe rate of internal temporary tables created by second by the server while executing statements.gaugetable/second
mysql.performance.digest_95th_percentile.avg_usQuery response time 95th percentile per schema.gaugemicrosecond
mysql.performance.errors_raisedThe number of errors raised per error code and name. Tags: error_number, error_name (DBM only)counterror
mysql.performance.handler_commitThe number of internal COMMIT statements.gaugeoperation/second
mysql.performance.handler_deleteThe number of internal DELETE statements.gaugeoperation/second
mysql.performance.handler_prepareThe number of internal PREPARE statements.gaugeoperation/second
mysql.performance.handler_read_firstThe number of internal READ_FIRST statements.gaugeoperation/second
mysql.performance.handler_read_keyThe number of internal READ_KEY statements.gaugeoperation/second
mysql.performance.handler_read_nextThe number of internal READ_NEXT statements.gaugeoperation/second
mysql.performance.handler_read_prevThe number of internal READ_PREV statements.gaugeoperation/second
mysql.performance.handler_read_rndThe number of internal READ_RND statements.gaugeoperation/second
mysql.performance.handler_read_rnd_nextThe number of internal READ_RND_NEXT statements.gaugeoperation/second
mysql.performance.handler_rollbackThe number of internal ROLLBACK statements.gaugeoperation/second
mysql.performance.handler_updateThe number of internal UPDATE statements.gaugeoperation/second
mysql.performance.handler_writeThe number of internal WRITE statements.gaugeoperation/second
mysql.performance.kernel_timePercentage of CPU time spent in kernel space by MySQL.gaugepercent
mysql.performance.key_cache_utilizationThe key cache utilization ratio.gaugefraction
mysql.performance.max_prepared_stmt_countThe maximum allowed prepared statements on the server.gauge-
mysql.performance.open_filesThe number of open files.gaugefile
mysql.performance.open_tablesThe number of of tables that are open.gaugetable
mysql.performance.opened_tablesThe number of tables that have been opened. If opened_tables is big, your table_open_cache value is probably too small.gaugetable/second
mysql.performance.performance_schema_digest_lostThe number of digest instances that could not be instrumented in the events_statements_summary_by_digest table. This can be nonzero if the value of performance_schema_digests_size is too small.gauge-
mysql.performance.prepared_stmt_countThe current number of prepared statements.gaugequery/second
mysql.performance.qcache.utilizationPercentage of queries served from query cache since server start.gaugepercent
mysql.performance.qcache.utilization.instantPercentage of queries served from query cache since last check.gaugepercent
mysql.performance.qcache_free_blocksThe number of free memory blocks in the query cache.gaugeblock
mysql.performance.qcache_free_memoryThe amount of free memory for the query cache.gaugebyte
mysql.performance.qcache_hitsThe rate of query cache hits.gaugehit/second
mysql.performance.qcache_insertsThe number of queries added to the query cache.gaugequery/second
mysql.performance.qcache_lowmem_prunesThe number of queries that were deleted from the query cache because of low memory.gaugequery/second
mysql.performance.qcache_not_cachedThe number of noncached queries (not cacheable, or not cached due to the query_cache_type setting).gaugequery/second
mysql.performance.qcache_queries_in_cacheThe number of queries registered in the query cache.gaugequery
mysql.performance.qcache_sizeThe amount of memory allocated for caching query results.gaugebyte
mysql.performance.qcache_total_blocksThe total number of blocks in the query cache.gaugeblock
mysql.performance.queriesThe rate of queries.gaugequery/second
mysql.performance.query_run_time.avgAvg query response time per schema.gaugemicrosecond
mysql.performance.questionsThe rate of statements executed by the server.gaugequery/second
mysql.performance.select_full_joinThe number of joins that perform table scans because they do not use indexes. If this value is not 0, you should carefully check the indexes of your tables.gaugeoperation/second
mysql.performance.select_full_range_joinThe number of joins that used a range search on a reference table.gaugeoperation/second
mysql.performance.select_rangeThe number of joins that used ranges on the first table. This is normally not a critical issue even if the value is quite large.gaugeoperation/second
mysql.performance.select_range_checkThe number of joins without keys that check for key usage after each row. If this is not 0, you should carefully check the indexes of your tables.gaugeoperation/second
mysql.performance.select_scanThe number of joins that did a full scan of the first table.gaugeoperation/second
mysql.performance.slow_queriesThe rate of slow queries (log queries that exceed a particular execution time).gaugequery/second
mysql.performance.sort_merge_passesThe number of merge passes that the sort algorithm has had to do. If this value is large, you should consider increasing the value of the sort_buffer_size system variable.gaugeoperation/second
mysql.performance.sort_rangeThe number of sorts that were done using ranges.gaugeoperation/second
mysql.performance.sort_rowsThe number of sorted rows.gaugeoperation/second
mysql.performance.sort_scanThe number of sorts that were done by scanning the table.gaugeoperation/second
mysql.performance.table_cache_hitsThe number of hits for open tables cache lookups.gaugehit/second
mysql.performance.table_cache_missesThe number of misses for open tables cache lookups.gaugemiss/second
mysql.performance.table_locks_immediateThe number of times that a request for a table lock could be granted immediately.gauge-
mysql.performance.table_locks_immediate.rateThe rate of times that a request for a table lock could be granted immediately.gauge-
mysql.performance.table_locks_waitedThe total number of times that a request for a table lock could not be granted immediately and a wait was needed.gauge-
mysql.performance.table_locks_waited.rateThe rate of times that a request for a table lock could not be granted immediately and a wait was needed.gauge-
mysql.performance.table_open_cacheThe number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires.gauge-
mysql.performance.thread_cache_sizeHow many threads the server should cache for reuse. When a client disconnects, the client's threads are put in the cache if there are fewer than thread_cache_size threads there.gaugebyte
mysql.performance.threads_cachedThe number of threads in the thread cache.gaugethread
mysql.performance.threads_connectedThe number of currently open connections.gaugeconnection
mysql.performance.threads_createdThe number of threads created to handle connections. If threads_created is big, you may want to increase the thread_cache_size value.countthread
mysql.performance.threads_runningThe number of threads that are not sleeping.gaugethread
mysql.performance.user_connectionsThe number of user connections. Tags: processlist_db, processlist_host, processlist_state, processlist_usergaugeconnection
mysql.performance.user_timePercentage of CPU time spent in user space by MySQL.gaugepercent
mysql.performance.wait_event.avg_timeAverage wait time per occurrence of a wait event (DBM only). Tagged by wait_event.gaugenanosecond
mysql.performance.wait_event.countTotal number of occurrences of a wait event (DBM only). Tagged by wait_event.countevent
mysql.performance.wait_event.max_timeMaximum single-occurrence wait time for a wait event (DBM only). Tagged by wait_event.gaugenanosecond
mysql.performance.wait_event.timeTotal accumulated wait time for a wait event (DBM only). Tagged by wait_event.countnanosecond
mysql.queries.countThe total count of executed queries per normalized query and schema. (DBM only)countquery
mysql.queries.created_tmp_disk_tablesThe total count of temporary tables that exceeded tmp_table_size and were written to disk per normalized query and schema. (DBM only)counttable
mysql.queries.created_tmp_tablesThe total count of in-memory temporary tables created during execution per normalized query and schema. (DBM only)counttable
mysql.queries.errorsThe total count of queries run with an error per normalized query and schema. (DBM only)counterror
mysql.queries.lock_timeThe total time spent waiting on locks per normalized query and schema. (DBM only)countnanosecond
mysql.queries.no_good_index_usedThe total count of queries which used a sub-optimal index per normalized query and schema. (DBM only)countquery
mysql.queries.no_index_usedThe total count of queries which do not use an index per normalized query and schema. (DBM only)countquery
mysql.queries.rows_affectedThe number of rows mutated per normalized query and schema. (DBM only)countrow
mysql.queries.rows_examinedThe number of rows examined per normalized query and schema. (DBM only)countrow
mysql.queries.rows_sentThe number of rows sent per normalized query and schema. (DBM only)countrow
mysql.queries.select_full_joinThe total count of full table scans on a joined table per normalized query and schema. (DBM only)count-
mysql.queries.select_full_range_joinThe total count of joins that used a range search on a referenced table per normalized query and schema. (DBM only)countoperation
mysql.queries.select_rangeThe total count of joins that used a range on the first table per normalized query and schema. (DBM only)countoperation
mysql.queries.select_range_checkThe total count of joins where the optimizer re-evaluates index usefulness per row per normalized query and schema. (DBM only)countoperation
mysql.queries.select_scanThe total count of full table scans on the first table per normalized query and schema. (DBM only)count-
mysql.queries.sort_merge_passesThe total count of multi-pass sort operations that spilled to disk per normalized query and schema. (DBM only)countoperation
mysql.queries.sort_rangeThe total count of sorts performed using an index range per normalized query and schema. (DBM only)countoperation
mysql.queries.sort_rowsThe total number of rows sorted per normalized query and schema. (DBM only)countrow
mysql.queries.sort_scanThe total count of sorts performed via full table scan per normalized query and schema. (DBM only)countoperation
mysql.queries.timeThe total query execution time per normalized query and schema. (DBM only)countnanosecond
mysql.replication.group.conflicts_detectedThe number of transactions that have not passed the conflict detection check.gaugetransaction
mysql.replication.group.member_statusInformation about the node status in a group replication environment, always equal to 1.gauge-
mysql.replication.group.transactionsThe number of transactions in the queue pending conflict detection checks.gaugetransaction
mysql.replication.group.transactions_appliedNumber of transactions this member has received from the group and applied.gaugetransaction
mysql.replication.group.transactions_checkThe number of transactions that have been checked for conflicts.gaugetransaction
mysql.replication.group.transactions_in_applier_queueThe number of transactions that this member has received from the replication group which are waiting to be applied.gaugetransaction
mysql.replication.group.transactions_proposedThe number of transactions which originated on this member and were sent to the group.gaugetransaction
mysql.replication.group.transactions_rollbackThe number of transactions which originated on this member and were rolled back by the group.gaugetransaction
mysql.replication.group.transactions_validatingThe number of transaction rows which can be used for certification, but have not been garbage collected.gaugetransaction
mysql.replication.replicas_connectedNumber of replicas connected to a replication source.gauge-
mysql.replication.seconds_behind_masterThe lag in seconds between the master and the slave.gaugesecond
mysql.replication.seconds_behind_sourceThe lag in seconds between the source and the replica.gaugesecond
mysql.replication.slave_runningDeprecated. Use service check mysql.replication.replica_running instead. A boolean showing if this server is a replication slave / master that is running.gauge-
mysql.replication.slaves_connectedDeprecated. Use mysql.replication.replicas_connected instead. Number of slaves connected to a replication master.gauge-
mysql.uptimeThe number of seconds that the server has been up.gaugesecond

Official documentation

Official documentation for the MySQL integration

Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.