Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/admin-manual/maint-monitor/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ curl http://be_host:webserver_port/metrics?type=json
| | {name="schema-change-pool"} | Num | Thread pool used by the Master FE to schedule schema change jobs | | |
| | {name="thrift-server-pool"} | Num | Worker thread pool of the FE-side ThriftServer. Corresponds to `rpc_port` in fe.conf and is used to interact with BEs | | |
| `doris_fe_txn_counter` | | Num | Cumulative count of load transactions in each state | Observe the execution status of load transactions | P0 |
| | {type="begin"} | Num | Number of committed transactions | | |
| | {type="begin"} | Num | Number of begun transactions | | |
| | {type="failed"} | Num | Number of failed transactions | | |
| | {type="reject"} | Num | Number of rejected transactions (for example, when the current number of running transactions exceeds the threshold, new transactions are rejected) | | |
| | {type="succes"} | Num | Number of successful transactions | | |
| | {type="success"} | Num | Number of successful transactions | | |
| `doris_fe_txn_status` | | Num | Number of load transactions currently in each state. For example, {type="committed"} indicates the number of transactions in the committed state | Observe the number of load transactions in each state to determine whether there is a backlog | P0 |
| `doris_fe_query_instance_num` | | Num | Number of fragment instances currently being requested by a specific user. For example, {user="test_u"} indicates the number of instances currently being requested by user test_u | Use this value to observe whether a specific user is consuming too many query resources | P0 |
| `doris_fe_query_instance_begin` | | Num | Number of fragment instances for which a specific user has started requests. For example, {user="test_u"} indicates the number of instances for which user test_u has started requests | Use this value to observe whether a specific user has submitted too many queries | P0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ curl http://be_host:webserver_port/metrics?type=json
| | {name="schema-change-pool"} | Num | Master FE 用于调度 schema change 作业的线程池 | | |
| | {name="thrift-server-pool"} | Num | FE 端 ThriftServer 的工作线程池。对应 fe.conf 中 `rpc_port`,用于和 BE 进行交互 | | |
| `doris_fe_txn_counter` | | Num | 统计各个状态的导入事务的数量的累计值 | 可以观测导入事务的执行情况 | P0 |
| | {type="begin"} | Num | 提交的事务数量 | | |
| | {type="begin"} | Num | 开始的事务数量 | | |
| | {type="failed"} | Num | 失败的事务数量 | | |
| | {type="reject"} | Num | 被拒绝的事务数量(如当前运行事务数大于阈值,则新的事务会被拒绝) | | |
| | {type="succes"} | Num | 成功的事务数量 | | |
| | {type="success"} | Num | 成功的事务数量 | | |
| `doris_fe_txn_status` | | Num | 统计当前处于各个状态的导入事务的数量。如 {type="committed"} 表示处于 committed 状态的事务的数量 | 可以观测各个状态下导入事务的数量,来判断是否有堆积 | P0 |
| `doris_fe_query_instance_num` | | Num | 指定用户当前正在请求的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 当前正在请求的 instance 数目 | 该数值可以用于观测指定用户是否占用过多查询资源 | P0 |
| `doris_fe_query_instance_begin` | | Num | 指定用户请求开始的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 开始请求的 instance 数目 | 该数值可以用于观测指定用户是否提交了过多查询 | P0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

# 监控指标

Doris 的 FE 进程和 BE 进程都提供了完备的监控指标。监控指标可以分为两类:

Check warning on line 11 in i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-code-fence-language

Code fence should declare a language. Owner%3A @apache/doris-website-maintainers

1. 进程监控:主要展示 Doris 进程本身的一些监控值。
2. 节点监控:主要展示 Doris 进程所在节点机器本身的监控,如 CPU、内存、IO、网络等等。

可以通过访问 FE 或 BE 节点的 http 端口获取当前监控。如:

```

Check warning on line 18 in i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-code-fence-language

Code fence should declare a language. Owner%3A @apache/doris-website-maintainers
curl http://fe_host:http_port/metrics
curl http://be_host:webserver_port/metrics
```
Expand All @@ -25,7 +25,7 @@
```
doris_fe_cache_added{type="partition"} 0
doris_fe_cache_added{type="sql"} 0
doris_fe_cache_hit{type="partition"} 0

Check warning on line 28 in i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-code-fence-language

Code fence should declare a language. Owner%3A @apache/doris-website-maintainers
doris_fe_cache_hit{type="sql"} 0
doris_fe_connection_total 2
```
Expand Down Expand Up @@ -111,10 +111,10 @@
| | {name="schema-change-pool"} | Num | Master FE 用于调度 schema change 作业的线程池 | |
| | {name="thrift-server-pool"} | Num | FE 端 ThriftServer 的工作线程池。对应 fe.conf 中 `rpc_port`。用于和 BE 进行交互。 | |
| `doris_fe_txn_counter` | | Num | 统计各个状态的导入事务的数量的累计值 | 可以观测导入事务的执行情况。 | P0 |
| | {type="begin"} | Num | 提交的事务数量 | |
| | {type="begin"} | Num | 开始的事务数量 | |
| | {type="failed"} | Num | 失败的事务数量 | |
| | {type="reject"} | Num | 被拒绝的事务数量。(如当前运行事务数大于阈值,则新的事务会被拒绝) | |
| | {type="succes"} | Num | 成功的事务数量 | |
| | {type="success"} | Num | 成功的事务数量 | |
| `doris_fe_txn_status` | | Num | 统计当前处于各个状态的导入事务的数量。如 {type="committed"} 表示处于 committed 状态的事务的数量 | 可以观测各个状态下导入事务的数量,来判断是否有堆积 | P0 |
| `doris_fe_query_instance_num` | | Num | 指定用户当前正在请求的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 当前正在请求的 instance 数目 | 该数值可以用于观测指定用户是否占用过多查询资源 | P0 |
| `doris_fe_query_instance_begin` | | Num | 指定用户请求开始的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 开始请求的 instance 数目 | 该数值可以用于观测指定用户是否提交了过多查询 | P0 |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-source-counterpart

Chinese docs changed without the English source counterpart. Confirm whether the English source also needs to be updated%2C or explain the locale-only reason in the PR description. Owner%3A @apache/doris-website-maintainers
{
"title": "监控指标",
"language": "zh-CN",
Expand All @@ -8,14 +8,14 @@

# 监控指标

Doris 的 FE 进程和 BE 进程都提供了完备的监控指标。监控指标可以分为两类:

Check warning on line 11 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-code-fence-language

Code fence should declare a language. Owner%3A @apache/doris-website-maintainers

1. 进程监控:主要展示 Doris 进程本身的一些监控值。
2. 节点监控:主要展示 Doris 进程所在节点机器本身的监控,如 CPU、内存、IO、网络等等。

可以通过访问 FE 或 BE 节点的 http 端口获取当前监控。如:

```

Check warning on line 18 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-code-fence-language

Code fence should declare a language. Owner%3A @apache/doris-website-maintainers
curl http://fe_host:http_port/metrics
curl http://be_host:webserver_port/metrics
```
Expand All @@ -25,7 +25,7 @@
```
doris_fe_cache_added{type="partition"} 0
doris_fe_cache_added{type="sql"} 0
doris_fe_cache_hit{type="partition"} 0

Check warning on line 28 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-code-fence-language

Code fence should declare a language. Owner%3A @apache/doris-website-maintainers
doris_fe_cache_hit{type="sql"} 0
doris_fe_connection_total 2
```
Expand Down Expand Up @@ -119,10 +119,10 @@
| | {name="schema-change-pool"} | Num | Master FE 用于调度 schema change 作业的线程池 | |
| | {name="thrift-server-pool"} | Num | FE 端 ThriftServer 的工作线程池。对应 fe.conf 中 `rpc_port`。用于和 BE 进行交互。 | |
| `doris_fe_txn_counter` | | Num | 统计各个状态的导入事务的数量的累计值 | 可以观测导入事务的执行情况。 | P0 |
| | {type="begin"} | Num | 提交的事务数量 | |
| | {type="begin"} | Num | 开始的事务数量 | |
| | {type="failed"} | Num | 失败的事务数量 | |
| | {type="reject"} | Num | 被拒绝的事务数量。(如当前运行事务数大于阈值,则新的事务会被拒绝) | |
| | {type="succes"} | Num | 成功的事务数量 | |
| | {type="success"} | Num | 成功的事务数量 | |
| `doris_fe_txn_status` | | Num | 统计当前处于各个状态的导入事务的数量。如 {type="committed"} 表示处于 committed 状态的事务的数量 | 可以观测各个状态下导入事务的数量,来判断是否有堆积 | P0 |
| `doris_fe_query_instance_num` | | Num | 指定用户当前正在请求的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 当前正在请求的 instance 数目 | 该数值可以用于观测指定用户是否占用过多查询资源 | P0 |
| `doris_fe_query_instance_begin` | | Num | 指定用户请求开始的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 开始请求的 instance 数目 | 该数值可以用于观测指定用户是否提交了过多查询 | P0 |
Expand Down Expand Up @@ -284,10 +284,10 @@
| `doris_be_load_rows` | | Num | 通过 tablet sink 发送的行数累计 | 可观测导入数据量 | P0 |
| `fragment_thread_pool_queue_size` | | Num | 当前查询执行线程池等待队列的长度 | 如果大于零,则说明查询线程已耗尽,查询会出现堆积 | P0 |
| `doris_be_all_rowsets_num` | | Num | 当前所有 rowset 的个数 | | P0 |
| `doris_be_all_segments_num` | | Num | 当前所有 segment 的个数 | | P0 |

Check warning on line 287 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-website-maintainers
| `doris_be_heavy_work_max_threads` | | Num | brpc heavy 线程池线程个数 | | p0 |

Check warning on line 288 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-website-maintainers
| `doris_be_light_work_max_threads` | | Num | brpc light 线程池线程个数 | | p0 |

Check warning on line 289 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-website-maintainers
| `doris_be_heavy_work_pool_queue_size` | | Num | brpc heavy 线程池队列最大长度,超过则阻塞提交 work | | p0 |

Check warning on line 290 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-website-maintainers
| `doris_be_light_work_pool_queue_size` | | Num | brpc light 线程池队列最大长度,超过则阻塞提交 work | | p0 |
| `doris_be_heavy_work_active_threads` | | Num | brpc heavy 线程池活跃线程数 | | p0 |
| `doris_be_light_work_active_threads` | | Num | brpc light 线程池活跃线程数 | | p0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ curl http://be_host:webserver_port/metrics?type=json
| | {name="schema-change-pool"} | Num | Master FE 用于调度 schema change 作业的线程池 | | |
| | {name="thrift-server-pool"} | Num | FE 端 ThriftServer 的工作线程池。对应 fe.conf 中 `rpc_port`,用于和 BE 进行交互 | | |
| `doris_fe_txn_counter` | | Num | 统计各个状态的导入事务的数量的累计值 | 可以观测导入事务的执行情况 | P0 |
| | {type="begin"} | Num | 提交的事务数量 | | |
| | {type="begin"} | Num | 开始的事务数量 | | |
| | {type="failed"} | Num | 失败的事务数量 | | |
| | {type="reject"} | Num | 被拒绝的事务数量(如当前运行事务数大于阈值,则新的事务会被拒绝) | | |
| | {type="succes"} | Num | 成功的事务数量 | | |
| | {type="success"} | Num | 成功的事务数量 | | |
| `doris_fe_txn_status` | | Num | 统计当前处于各个状态的导入事务的数量。如 {type="committed"} 表示处于 committed 状态的事务的数量 | 可以观测各个状态下导入事务的数量,来判断是否有堆积 | P0 |
| `doris_fe_query_instance_num` | | Num | 指定用户当前正在请求的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 当前正在请求的 instance 数目 | 该数值可以用于观测指定用户是否占用过多查询资源 | P0 |
| `doris_fe_query_instance_begin` | | Num | 指定用户请求开始的 fragment instance 数目。如 {user="test_u"} 表示用户 test_u 开始请求的 instance 数目 | 该数值可以用于观测指定用户是否提交了过多查询 | P0 |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-4.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @apache/doris-website-maintainers

Check notice on line 1 in versioned_docs/version-4.x/admin-manual/maint-monitor/metrics.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-candidate

A 3.x counterpart exists. Confirm whether the change is supported in 3.x before leaving it unsynced. Owner%3A @apache/doris-website-maintainers
{
"title": "Monitoring Metrics",
"language": "en",
Expand Down Expand Up @@ -146,10 +146,10 @@
| | {name="schema-change-pool"} | Num | Thread pool used by the Master FE to schedule schema change jobs | | |
| | {name="thrift-server-pool"} | Num | Worker thread pool of the FE-side ThriftServer. Corresponds to `rpc_port` in fe.conf and is used to interact with BEs | | |
| `doris_fe_txn_counter` | | Num | Cumulative count of load transactions in each state | Observe the execution status of load transactions | P0 |
| | {type="begin"} | Num | Number of committed transactions | | |
| | {type="begin"} | Num | Number of begun transactions | | |
| | {type="failed"} | Num | Number of failed transactions | | |
| | {type="reject"} | Num | Number of rejected transactions (for example, when the current number of running transactions exceeds the threshold, new transactions are rejected) | | |
| | {type="succes"} | Num | Number of successful transactions | | |
| | {type="success"} | Num | Number of successful transactions | | |
| `doris_fe_txn_status` | | Num | Number of load transactions currently in each state. For example, {type="committed"} indicates the number of transactions in the committed state | Observe the number of load transactions in each state to determine whether there is a backlog | P0 |
| `doris_fe_query_instance_num` | | Num | Number of fragment instances currently being requested by a specific user. For example, {user="test_u"} indicates the number of instances currently being requested by user test_u | Use this value to observe whether a specific user is consuming too many query resources | P0 |
| `doris_fe_query_instance_begin` | | Num | Number of fragment instances for which a specific user has started requests. For example, {user="test_u"} indicates the number of instances for which user test_u has started requests | Use this value to observe whether a specific user has submitted too many queries | P0 |
Expand Down
Loading