以下服务器指标是默认注册的:The following server metrics are registered by default:
可以创建的最大指标仪器数量由 performance_schema_max_metric_classes 设置。The maximum number of metric instruments which can be created is
set by
performance_schema_max_metric_classes.
表 35.3 mysql.stats 指标Table 35.3 mysql.stats Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
由于客户端在未正确关闭连接的情况下退出而中止的连接数The number of connections that were aborted because the client died without closing the connection properly |
|
|
|
连接到 MySQL 服务器失败的尝试次数The number of failed attempts to connect to the MySQL server |
|
|
|
缓存的权限对象数量The number of cached privilege objects |
|
|
|
使用临时二进制日志缓存但超过 binlog_cache_size 值并使用临时文件存储事务中语句的事务数量The 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 |
|
|
|
使用二进制日志缓存的事务数量。The number of transactions that used the binary log cache. |
|
|
|
使用二进制日志语句缓存但超过 binlog_stmt_cache_size 值并使用临时文件存储这些语句的非事务性语句数量。The number of nontransaction statements that used the binary log statement cache but that exceeded the value of binlog_stmt_cache_size and used a temporary file to store those statements. |
|
|
|
使用二进制日志语句缓存的非事务语句数量The number of nontransactional statements that used the binary log statement cache |
|
|
|
从所有客户端接收的字节数The number of bytes received from all clients |
|
|
|
发送到所有客户端的字节数The number of bytes sent to all clients |
|
|
|
服务器在执行语句时创建的内部磁盘临时表的数量The number of internal on-disk temporary tables created by the server while executing statements |
|
|
|
mysqld 创建的临时文件数量How many temporary files mysqld has created |
|
|
|
服务器在执行语句时创建的内部临时表的数量The number of internal temporary tables created by the server while executing statements |
|
|
|
当前在性能模式 error_log 表中使用的字节数The number of bytes currently used in the Performance Schema error_log table |
|
|
|
当前存在于性能模式(Performance Schema)error_log 表中的事件数量The number of events currently present in the Performance Schema error_log table |
|
|
|
为给新事件腾出空间而从性能模式(Performance Schema)error_log 表中丢弃的事件数量The number of events discarded from the Performance Schema error_log table to make room for new events |
|
|
|
服务器刷新表的次数The number of times the server flushes tables |
|
|
|
所有用户连接到服务器所使用的内存The memory used by all user connections to the server |
|
|
|
尝试连接被锁定用户账户的次数The number of attempts to connect to locked user accounts |
|
|
|
SELECT 语句执行超时的次数The number of SELECT statements for which the execution timeout was exceeded |
|
|
|
设置了非零执行超时的 SELECT 语句的数量The number of SELECT statements for which a nonzero execution timeout was set |
|
|
|
尝试设置执行超时失败的 |
|
|
|
自服务器启动以来同时使用过的最大连接数The maximum number of connections that have been in use simultaneously since the server started |
|
|
|
显示已标记为匿名的正在进行的事务数量Shows the number of ongoing transactions which have been marked as anonymous |
|
|
|
已打开的文件数量。此计数包括服务器打开的普通文件。The number of files that are open. This count includes regular files opened by the server. |
|
|
|
已打开的流的数量,主要用于日志记录The number of streams that are open, used mainly for logging |
|
|
|
缓存的表定义数量The number of cached table definitions |
|
|
|
开放的桌子数量。The number of tables that are open. |
|
|
|
通过 |
|
|
|
已缓存的表定义数量。The number of table definitions that have been cached. |
|
|
|
已打开的表格数量The number of tables that have been opened |
|
|
|
当前准备语句的数量The current number of prepared statements |
|
|
|
服务器执行的语句数量,包括在存储程序中执行的语句。不计入 |
|
|
|
服务器执行的语句数量。这仅包括客户端发送到服务器的语句,而不包括在存储程序中执行的语句。The number of statements executed by the server. This includes only statements sent to the server by clients and not statements executed within stored programs. |
|
|
|
复制 SQL 线程当前打开的临时表数量。Number of temporary tables that the replication SQL thread currently has open. |
|
|
|
被卸载到辅助引擎的查询数量The number of queries offloaded to a secondary engine |
|
|
|
由于未使用索引而执行表扫描的连接数The number of joins that perform table scans because they do not use indexes |
|
|
|
在参考表上使用范围搜索的连接数The number of joins that used a range search on a reference table |
|
|
|
在第一张表上使用范围的连接数The number of joins that used ranges on the first table |
|
|
|
没有键的连接在每行之后检查键使用情况的次数The number of joins without keys that check for key usage after each row |
|
|
|
执行了第一次表全表扫描的连接数The number of joins that did a full scan of the first table |
|
|
|
创建线程所耗时超过 slow_launch_time 秒的线程数。The number of threads that have taken more than slow_launch_time seconds to create. |
|
|
|
执行时间超过 long_query_time 秒的查询数The number of queries that have taken more than long_query_time seconds |
|
|
|
排序算法必须执行的合并次数The number of merge passes that the sort algorithm has had to do |
|
|
|
使用范围进行的排序次数The number of sorts that were done using ranges |
|
|
|
已排序行的数量。The number of sorted rows. |
|
|
|
通过扫描表格完成的排序次数。The number of sorts that were done by scanning the table. |
|
|
|
请求表锁时能够立即授予的次数The number of times that a request for a table lock could be granted immediately |
|
|
|
请求表锁未能立即授予并需要等待的次数。The number of times that a request for a table lock could not be granted immediately and a wait was needed. |
|
|
|
打开表缓存查找的命中次数。The number of hits for open tables cache lookups. |
|
|
|
打开表缓存查找未命中的次数。The number of misses for open tables cache lookups. |
|
|
|
打开表缓存溢出的次数。The number of overflows for the open tables cache. |
|
|
|
对于恢复日志的内存映射实现,每当服务器无法提交事务而必须等待日志中的空闲页时,此变量就会递增。For the memory-mapped implementation of the recovery log, this variable increments each time the server was not able to commit a transaction and had to wait for a free page in the log. |
|
|
|
线程缓存中的线程数量。The number of threads in the thread cache. |
|
|
|
当前打开连接的数量The number of currently open connections |
|
|
|
为处理连接而创建的线程数。The number of threads created to handle connections. |
|
|
|
未处于睡眠状态的线程数。The number of threads that are not sleeping. |
|
|
|
服务器已运行的秒数。The number of seconds that the server has been up. |
mysql.stats.com 指标对应于 Com_ 语句计数变量。更多信息请参见 第 7.1.10 节,“服务器状态变量” 以及 Com_xxx。The xxxmysql.stats.com metrics correspond to
the Com_
statement counter variables. See
Section 7.1.10, “Server Status Variables” and
Com_xxxfor more
information.xxx
mysql.stats.com 指标的命名与这些变量相同,但省略了 Com_ 前缀。例如,select 指标对应于 Com_select 语句计数变量。The mysql.stats.com metrics are named for
those variables, without the Com_ prefix.
For example, the select metric corresponds
to the Com_select statement counter
variable.
这些指标的 OTEL 类型为 ASYNC
COUNTER,记录相应命令语句被执行的次数(整数)。These metrics are of OTEL Type ASYNC
COUNTER and record the number of times (INTEGER) the
corresponding command statement has been executed.
mysql.stats.connection 指标对应于 Connections 和 Connection_ 状态变量。The XXXmysql.stats.connection metrics
correspond to the Connections and
Connection_
status variables.XXX
表 35.4 mysql.stats.connection 指标Table 35.4 mysql.stats.connection Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
创建的总连接累计数。Cumulative count of total connections created. |
|
|
|
在监听端口调用 |
|
|
|
由于服务器内部错误,如无法启动新线程或内存不足,导致连接被拒绝的数量。The number of connections refused due to internal errors in the server, such as failure to start a new thread or an out-of-memory condition. |
|
|
|
|
由于达到服务器的 max_connections 限制而被拒绝的连接数。The number of connections refused because the server max_connections limit was reached. |
|
|
|
在搜索连接客户端 IP 地址时发生的错误数量。The number of errors that occurred while searching for connecting client IP addresses. |
|
|
在监听端口调用 select() 或 poll() 时发生的错误数量。The number of errors that occurred during calls to select() or poll() on the listening port. |
|
|
|
被 |
mysql.perf_schema 对应于 Performance_schema_ 状态变量。参见 第 29.7 节,“Performance Schema 状态监控”。The XXXmysql.perf_schema correspond to the
Performance_schema_
status variables. See
Section 29.7, “Performance Schema Status Monitoring”.XXX
表 35.5 mysql.perf_schema 指标Table 35.5 mysql.perf_schema Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
由于 accounts 表已满而无法添加行的次数。The number of times a row could not be added to the accounts table because it was full. |
|
|
|
有多少条件工具无法加载。How many condition instruments could not be loaded. |
|
|
|
有多少条件工具实例无法创建。How many condition instrument instances could not be created. |
|
|
|
在 |
|
|
|
有多少文件工具未能加载。How many file instruments could not be loaded. |
|
|
|
有多少文件工具实例未能打开。How many file instrument instances could not be opened. |
|
|
|
有多少文件工具实例未能创建。How many file instrument instances could not be created. |
|
|
|
行无法添加到 hosts 表中的次数,因为表已满。The number of times a row could not be added to the hosts table because it was full. |
|
|
|
索引统计数据丢失的次数。The number of indexes for which statistics were lost. |
|
|
|
丢失或未记录的事件数量。How many events are lost or not recorded. |
|
|
|
内存工具无法加载的次数。The number of times a memory instrument could not be loaded. |
|
|
|
在 |
|
|
|
无法加载的计量器仪表数量。How many meter instruments could not be loaded. |
|
|
|
无法加载的度量仪表数量。How many metric instruments could not be loaded. |
|
|
|
无法加载的互斥仪器数量。How many mutex instruments could not be loaded. |
|
|
|
无法创建的互斥仪器实例数量。How many mutex instrument instances could not be created. |
|
|
|
已丢失统计信息的存储程序语句的数量。The number of stored program statements for which statistics were lost. |
|
|
|
在 |
|
|
|
丢失统计信息的存储程序数量。The number of stored programs for which statistics were lost. |
|
|
|
无法加载的 rwlock 工具数量。How many rwlock instruments could not be loaded. |
|
|
|
无法创建的 rwlock 工具实例数量。How many rwlock instrument instances could not be created. |
|
|
|
接收到的最长连接属性。Longest seen connection attribute received. |
|
|
|
发生连接属性截断的连接数量The number of connections for which connection attribute truncation has occurred |
|
|
|
无法加载的套接字工具数。How many socket instruments could not be loaded. |
|
|
|
无法创建的套接字工具实例数。How many socket instrument instances could not be created. |
|
|
|
无法加载的阶段工具数。How many stage instruments could not be loaded. |
|
|
|
有多少语句工具无法加载。How many statement instruments could not be loaded. |
|
|
|
有多少个表的仪表实例无法打开。How many table instrument instances could not be opened. |
|
|
|
无法创建的表仪表实例数量。How many table instrument instances could not be created. |
|
|
|
丢失锁统计的表的数量。The number of tables for which lock statistics were lost. |
|
|
|
有多少线程工具无法加载。How many thread instruments could not be loaded. |
|
|
|
在 |
|
|
|
由于 |
mysql.stats.handler 指标对应于 Handler_ 状态变量。The XXXmysql.stats.handler metrics correspond
to the
Handler_
status variables.XXX
表 35.6 mysql.perf_schema 指标Table 35.6 mysql.perf_schema Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
内部 COMMIT 语句的数量。The number of internal COMMIT statements. |
|
|
|
从表中删除行的次数The number of times that rows have been deleted from tables |
|
|
|
发现表的次数。The number of times that tables have been discovered. |
|
|
|
服务器在每次调用其 external_lock() 函数时增加此变量,该操作通常发生在访问表实例的开始和结束时。The server increments this variable for each call to its external_lock() function, which generally occurs at the beginning and end of access to a table instance. |
|
|
|
服务器使用存储引擎自身的多范围读取实现进行表访问的次数。The number of times the server uses a storage engine's own Multi-Range Read implementation for table access. |
|
|
|
用于两阶段提交操作准备阶段的计数器。A counter for the prepare phase of two-phase commit operations. |
|
|
|
读取索引中第一个条目的次数。The number of times the first entry in an index was read. |
|
|
|
基于键读取行的请求次数。The number of requests to read a row based on a key. |
|
|
|
读取索引中最后一个键的请求次数。The number of requests to read the last key in an index. |
|
|
|
按键顺序读取下一行的请求次数。The number of requests to read the next row in key order. |
|
|
|
按键顺序读取前一行的请求次数。The number of requests to read the previous row in key order. |
|
|
|
根据固定位置读取行的请求次数。The number of requests to read a row based on a fixed position. |
|
|
|
读取数据文件中下一行的请求次数。The number of requests to read the next row in the data file. |
|
|
|
请求存储引擎执行回滚操作的次数。The number of requests for a storage engine to perform a rollback operation. |
|
|
|
请求存储引擎设置保存点的次数。The number of requests for a storage engine to place a savepoint. |
|
|
|
存储引擎回滚到保存点的请求次数。The number of requests for a storage engine to roll back to a savepoint. |
|
|
|
更新表中某一行的请求数量。The number of requests to update a row in a table. |
|
|
|
向表中插入一行的请求数量。The number of requests to insert a row in a table. |
表 35.7 mysql.perf_schema 指标Table 35.7 mysql.perf_schema Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
在 MyISAM 键缓存中已更改但尚未刷新到磁盘的键块数量。The number of key blocks in the MyISAM key cache that have changed but have not yet been flushed to disk. |
|
|
|
MyISAM 键缓存中未使用的块数。The number of unused blocks in the MyISAM key cache. |
|
|
|
MyISAM 键缓存中已使用的块数。The number of used blocks in the MyISAM key cache. |
|
|
|
从 MyISAM 键缓存中读取键块的请求次数。The number of requests to read a key block from the MyISAM key cache. |
|
|
|
从磁盘读取键块到 MyISAM 键缓存的物理读取次数。The number of physical reads of a key block from disk into the MyISAM key cache. |
|
|
|
写入 MyISAM 键缓存的键块请求次数。The number of requests to write a key block to the MyISAM key cache. |
|
|
|
将 MyISAM 键缓存中的键块物理写入磁盘的次数。The number of physical writes of a key block from the MyISAM key cache to disk. |
表 35.8 mysql.stats.ssl 指标Table 35.8 mysql.stats.ssl Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
尝试与启用 SSL 的复制源服务器建立 SSL 连接的次数。The number of SSL connection attempts to an SSL-enabled replication source server. |
|
|
|
建立与启用 SSL 的复制源服务器连接所需的协商次数。The number of negotiates needed to establish the connection to an SSL-enabled replication source server. |
|
|
|
与服务器成功的 SSL 连接数。The number of successful SSL connections to the server. |
|
|
|
成功连接到启用 SSL 的复制源服务器的副本连接数。The number of successful replica connections to an SSL-enabled replication source server. |
|
|
|
SSL 会话缓存命中的次数。The number of SSL session cache hits. |
|
|
|
SSL 会话缓存未命中的次数。The number of SSL session cache misses. |
|
|
|
SSL 会话缓存溢出的次数。The number of SSL session cache overflows. |
|
|
|
SSL 会话缓存大小。The SSL session cache size. |
|
|
|
SSL 会话缓存超时的次数。The number of SSL session cache timeouts. |
|
|
|
|
使用了多少 SSL 会话缓存条目。How many SSL session cache entries were used. |
|
|
建立连接所需的协商次数。The number of negotiates needed to establish the connection. |
|
|
|
接受的 SSL 连接数。The number of accepted SSL connections. |
|
|
|
回调缓存命中的次数。The number of callback cache hits. |
表 35.9 mysql.inno 指标Table 35.9 mysql.inno Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
为双写操作写入的页数Number of pages that have been written for doublewrite operations |
|
|
|
已执行的双写操作次数Number of doublewrite operations that have been performed |
|
|
|
包含正在使用的重做日志数据的 LSN 范围大小(以字节为单位)。LSN range size in bytes containing in-use redo log data. |
|
|
|
当前所有磁盘上的重做日志文件占用的磁盘空间(以字节为单位),不包括备用重做日志文件Disk space in bytes currently consumed by all redo log files on disk, excluding spare redo log files |
|
|
|
最后一次完成容量调整操作后,所有重做日志文件的重做日志容量(以字节为单位)Redo log capacity in bytes for all redo log files, after the last completed capacity resize operation |
|
|
|
由于日志缓冲区过小导致的日志等待次数Number of log waits due to small log buffer |
|
|
|
日志写入请求次数Number of log write requests |
|
|
|
对 InnoDB 重做日志文件的物理写入次数The number of physical writes to the InnoDB redo log file |
|
|
|
fsync 日志写入次数Number of fsync log writes. |
|
|
|
挂起的 fsync 写入数量。Number of pending fsync writes. |
|
|
|
挂起的日志文件写入数量。Number of pending log file writes. |
|
|
|
已写日志字节数。Bytes of log written. |
|
|
|
InnoDB 页大小(字节)。InnoDB page size in bytes. |
|
|
|
创建的页数Number of pages created |
|
|
|
读取的页数Number of pages read. |
|
|
|
写入的页数Number of pages written. |
|
|
|
当前正在等待的行锁数量。Number of row locks currently being waited for. |
|
|
|
获取行锁所花费的时间,单位为毫秒Time spent in acquiring row locks, in milliseconds |
|
|
|
获取行锁的平均时间,单位为毫秒The average time to acquire a row lock, in milliseconds |
|
|
|
获取行锁的最大时间,单位为毫秒。The maximum time to acquire a row lock, in milliseconds. |
|
|
|
行锁被等待的次数。Number of times a row lock had to be waited for. |
|
|
|
插入到 InnoDB 表中的行数。The number of rows inserted into InnoDB tables. |
|
|
|
从 InnoDB 表中读取的行数。The number of rows read from InnoDB tables |
|
|
|
在 InnoDB 表中更新的行数。The number of rows updated in InnoDB tables. |
|
|
|
从属于系统创建模式的 InnoDB 表中删除的行数。Number of rows deleted from InnoDB tables belonging to system-created schemas. |
|
|
|
插入到属于系统创建模式的 InnoDB 表中的行数Number of rows inserted into InnoDB tables belonging to system-created schemas |
|
|
|
从属于系统创建模式的 InnoDB 表中读取的行数。Number of rows read from InnoDB tables belonging to system-created schemas. |
|
|
|
属于系统创建模式的 InnoDB 表中更新的行数。Number of rows updated in InnoDB tables belonging to system-created schemas. |
|
|
|
当前打开的文件数。Number of files currently open. |
|
|
|
|
|
|
|
撤销表空间的总数。Total number of undo tablespaces. |
|
|
|
用户创建的撤销表空间数量。Number of user-created undo tablespaces. |
|
|
|
活动撤销表空间的数量,包括隐式和显式表空间Number of active undo tablespaces, including implicit and explicit tablespaces |
表 35.10 mysql.inno.buffer_pool 指标Table 35.10 mysql.inno.buffer_pool Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
包含数据的缓冲区页。Buffer pages containing data. |
|
|
|
包含数据的缓冲区字节数。Buffer bytes containing data. |
|
|
|
当前脏的缓冲区页。Buffer pages currently dirty. |
|
|
|
当前脏的缓冲区字节数Buffer bytes currently dirty |
|
|
|
请求从 InnoDB 缓冲池刷新页面的次数。The number of requests to flush pages from the InnoDB buffer pool. |
|
|
|
当前空闲的缓冲区页面。Buffer pages currently free. |
|
|
|
用于各种用途(如行锁或自适应哈希索引)的缓冲页。Buffer pages for misc use such as row locks or the adaptive hash index. |
|
|
|
缓冲池总大小(以页为单位)。Total buffer pool size in pages. |
|
|
|
由 InnoDB 发起的“随机”预读次数。The number of 'random' read-aheads initiated by InnoDB. |
|
|
|
作为预读读取的页数。Number of pages read as read ahead. |
|
|
|
预读页在未被访问的情况下被驱逐。Read-ahead pages evicted without being accessed. |
|
|
|
逻辑读请求的数量。Number of logical read requests. |
|
|
|
直接从磁盘读取的次数。Number of reads directly from disk. |
|
|
|
等待可用缓冲区的次数。Number of times waited for free buffer. |
|
|
|
写请求的次数。Number of write requests. |
表 35.11 mysql.inno.data 指标Table 35.11 mysql.inno.data Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
|
|
|
|
待处理 fsync 操作的次数。Number of pending fsync operations. |
|
|
|
当前待处理的读取数量The current number of pending reads |
|
|
|
当前待处理写入的数量。The current number of pending writes. |
|
|
|
读取的数据量(以字节为单位)。Amount of data read in bytes. |
|
|
|
发起的读取次数。Number of reads initiated. |
|
|
|
发起的写入次数。Number of writes initiated. |
|
|
|
以字节为单位写入的数据量。Amount of data written in bytes. |
表 35.12 mysql.x 指标Table 35.12 mysql.x Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
由于输入或输出错误而断开的客户端数量。The number of clients that were disconnected because of an input or output error. |
|
|
|
通过网络接收的字节总数,在解压缩之前测量。The total number of bytes received through the network, measured before decompression. |
|
|
|
作为压缩消息有效载荷接收的字节数,在解压缩之前测量。The number of bytes received as compressed message payloads, measured before decompression. |
|
|
|
作为压缩消息有效载荷接收的字节数,在解压缩之后测量。The number of bytes received as compressed message payloads, measured after decompression. |
|
|
|
通过网络发送的字节总数。The total number of bytes sent through the network. |
|
|
|
作为压缩消息负载发送的字节数,测量在压缩之后。The number of bytes sent as compressed message payloads, measured after compression. |
|
|
|
作为未压缩消息帧发送的字节数,测量在压缩之前。The number of bytes sent as compressed message payloads, measured before compression. |
|
|
|
导致接受错误的连接数。The number of connections which have caused accept errors. |
|
|
|
引起错误的连接数。The number of connections which have caused errors. |
|
|
|
已被接受的连接数。The number of connections which have been accepted. |
|
|
|
已关闭的连接数。The number of connections which have been closed. |
|
|
|
被拒绝的连接数量。The number of connections which have been rejected. |
|
|
|
收到的创建视图请求数量。The number of create view requests received. |
|
|
|
收到的删除请求数量。The number of delete requests received. |
|
|
|
收到的删除视图请求数量。The number of drop view requests received. |
|
|
|
收到的查找请求数量。The number of find requests received. |
|
|
|
收到的插入请求数量。The number of insert requests received. |
|
|
|
收到的修改视图请求数量。The number of modify view requests received. |
|
|
|
收到的更新请求数量。The number of update requests received. |
|
|
|
收到的关闭游标消息数量。The number of cursor-close messages received. |
|
|
|
收到的获取游标消息数量。The number of cursor-fetch messages received. |
|
|
|
收到的打开游标消息数量。The number of cursor-open messages received. |
|
|
|
发送给客户端的错误数量。The number of errors sent to clients. |
|
|
|
接收到的未知消息类型的数量。The number of unknown message types that have been received. |
|
|
|
已关闭的期望块数量。The number of expectation blocks closed. |
|
|
|
已打开的期望块数。The number of expectation blocks opened. |
|
|
|
初始化期间的错误数。The number of errors during initialisation. |
|
|
|
发送给客户端的所有类型消息的总数。The total number of messages of all types sent to clients. |
|
|
|
发送给客户端的全局通知数量。The number of global notifications sent to clients. |
|
|
|
发送回客户端的其他类型通知的数量。The number of other types of notices sent back to clients. |
|
|
|
发送回客户端的警告通知数量。The number of warning notices sent back to clients. |
|
|
|
发送给客户端的组复制通知数量。Number of Group Replication notifications sent to clients. |
|
|
|
接收到的准备语句释放消息的数量。The number of prepared-statement-deallocate messages received. |
|
|
|
接收到的准备语句执行消息的数量。The number of prepared-statement-execute messages received. |
|
|
|
接收到的准备语句消息的数量。The number of prepared-statement messages received. |
|
|
|
发送回客户端的行数。The number of rows sent back to clients. |
|
|
|
已打开的会话数量。The number of sessions that have been opened. |
|
|
|
已接受的会话尝试次数。The number of session attempts which have been accepted. |
|
|
|
已关闭的会话数量。The number of sessions that have been closed. |
|
|
|
已因致命错误而关闭的会话数。The number of sessions that have closed with a fatal error. |
|
|
|
已被终止的会话数。The number of sessions which have been killed. |
|
|
|
被拒绝的会话尝试次数。The number of session attempts which have been rejected. |
|
|
|
接受的 SSL 连接数。The number of accepted SSL connections. |
|
|
|
与服务器成功的 SSL 连接数。The number of successful SSL connections to the server. |
|
|
|
可用的工作线程数量。The number of worker threads available. |
|
|
|
当前使用的工作线程数量。The number of worker threads currently used. |
表 35.13 mysql.x.stmt 指标Table 35.13 mysql.x.stmt Metrics
| 名称Name | 源变量Source Variable | OTEL 类型OTEL Type | 说明Description |
|---|---|---|---|
|
|
接收到的创建集合语句的数量。The number of create collection statements received. |
|
|
|
接收到的创建集合索引语句的数量。The number of create collection index statements received. |
|
|
|
收到的禁用通知语句的数量。The number of disable notice statements received. |
|
|
|
收到的删除集合语句的数量。The number of drop collection statements received. |
|
|
|
收到的删除集合索引语句的数量。The number of drop collection index statements received. |
|
|
|
收到的启用通知语句的数量。The number of enable notice statements received. |
|
|
|
收到的确保集合语句的数量。The number of ensure collection statements received. |
|
|
|
收到的命名空间设置为 mysqlx 的 StmtExecute 消息数量。The number of StmtExecute messages received with namespace set to mysqlx. |
|
|
|
收到的 SQL 命名空间的 StmtExecute 请求数量。The number of StmtExecute requests received for the SQL namespace. |
|
|
|
收到的获取集合对象语句的数量。The number of get collection object statements received. |
|
|
|
收到的终止客户端语句的数量。The number of kill client statements received. |
|
|
|
收到的列出客户端语句的数量。The number of list client statements received. |
|
|
|
收到的列表通知语句的数量。The number of list notice statements received. |
|
|
|
收到的列出对象语句的数量。The number of list object statements received. |
|
|
|
收到的修改集合选项语句的数量。The number of modify collection options statements received. |
|
|
|
收到的 ping 语句的数量。The number of ping statements received. |