Skip to content

Commit 1876e64

Browse files
Electronic-Wastesoyeric128
authored andcommitted
doc(monitor): add some missing metrics.
Signed-off-by: Electronic-Waste <[email protected]>
1 parent 62e7939 commit 1876e64

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/cn/guides/10-deploy/03-monitor/10-metasrv-metrics.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ description:
173173
| databend_meta_grpc_client_request_duration_ms | Histogram | 向元领导者发出的不同类型请求(Upsert、Txn、StreamList、StreamMGet、GetClientInfo)的请求持续时间分布。 | endpoint, request |
174174
| databend_meta_grpc_client_request_inflight | Gauge | 当前连接到元的查询数量。 | |
175175
| databend_meta_grpc_client_request_success | Counter | 向元发出的成功请求数。 | endpoint, request |
176+
| databend_process_cpu_seconds_total | Counter | 用户和系统使用的总CPU时间(秒) | |
177+
| databend_process_max_fds | Gauge | 最大允许的打开文件描述符的数目 | |
178+
| databend_process_open_fds | Gauge | 打开的文件描述符的数目 | |
179+
| databend_process_resident_memory_bytes | Gauge | 物理内存使用量(字节). | |
180+
| databend_process_start_time_seconds | Gauge | 进程启动的时刻(Unix时间戳,以秒为单位) | |
181+
| databend_process_threads | Gauge | 线程使用数目 | |
182+
| databend_process_virtual_memory_bytes | Gauge | 虚拟内存使用量(字节) | |
176183
| databend_opendal_bytes | Counter | OpenDAL端点读取和写入的总字节数。 | scheme(操作使用的方案,例如“s3”),op(操作类型,例如“read”或“write”) |
177184
| databend_opendal_bytes_histogram | Histogram | 按操作的响应时间和计数分布。 | scheme(操作使用的方案,例如“s3”),op(操作类型,例如“write”) |
178185
| databend_opendal_errors | Counter | OpenDAL操作中遇到的错误及其类型数量。 | scheme(操作使用的方案,例如“s3”),op(操作类型,例如“read”),err(遇到的错误类型,例如“NotFound”) |

docs/en/guides/10-deploy/03-monitor/10-metasrv-metrics.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,13 @@ Here's a list of Query metrics captured by Databend.
178178
| databend_opendal_errors | Counter | Number of errors and their types encountered in OpenDAL operations. | scheme (the scheme used for the operation, e.g., "s3"), op (the type of operation, e.g., "read"), err (the type of error encountered, e.g., "NotFound") |
179179
| databend_opendal_request_duration_seconds | Histogram | Duration of OpenDAL requests to object storage. | scheme (the scheme used for the operation, e.g., "s3"), op (the type of operation, e.g., "read") |
180180
| databend_opendal_requests | Counter | Number of various types of requests made using OpenDAL. | scheme (the scheme used for the request, e.g., "s3"), op (the operation type, e.g., "batch", "list", "presign", "read", "write", "delete", "stat") |
181+
| databend_process_cpu_seconds_total | Counter | Total user and system CPU time spent in seconds. | |
182+
| databend_process_max_fds | Gauge | Maximum number of open file descriptors allowed. | |
183+
| databend_process_open_fds | Gauge | Number of open file descriptors. | |
184+
| databend_process_resident_memory_bytes | Gauge | Resident memory size in bytes. | |
185+
| databend_process_start_time_seconds | Gauge | Start time of the process since Unix epoch in seconds. | |
186+
| databend_process_threads | Gauge | Number of OS threads in use. | |
187+
| databend_process_virtual_memory_bytes | Gauge | Virtual memory size in bytes. | |
181188
| databend_query_duration_ms | Histogram | Tracks the distribution of execution times for different types of queries initiated by various handlers. | handler, kind, tenant, cluster |
182189
| databend_query_error | Counter | Total number of query errors. | handler="HTTPQuery", kind="Other", tenant="wubx", cluster="w189" |
183190
| databend_query_failed | Counter | Total number of failed requests. | |

0 commit comments

Comments
 (0)