# mysql exporter各个参数说明

## 1.连接数和线程数

mysql\_global\_status\_max\_used\_connections 连接数

mysql\_global\_status\_threads\_connected 线程数

## 2.每秒io处理次数（iops）

node\_disk\_read\_bytes\_total 主机接受字节数 + node\_disk\_written\_bytes\_total 主机发送字节数

## 3.每秒事务数（tps）

mysql\_global\_status\_handlers\_total{handler="commit"} + mysql\_global\_status\_handlers\_total{handler="rollback"}

## 4.每秒查询数（qps）

mysql\_global\_status\_queries

## 5.网络带宽

mysql\_global\_status\_bytes\_received 接受字节数 + mysql\_global\_status\_bytes\_sent 发送字节数


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://qiangrens-organization.gitbook.io/qkd90/fu-wu-qi-yun-wei-he-ce-shi/mysql-exporter-ge-ge-can-shu-shuo-ming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
