基于湖库一体架构,统一管理结构化、半结构化与非结构化等多模态数据,一个系统承载事务处理、实时分析与 AI 工作负载。
日志读取
更新时间:2026-08-03 16:09:20
本节介绍 Logservice 日志读取相关的监控指标。
logservice_pread_bytes_total
指标介绍
磁盘读取字节数(含远程读取),按 source 维度区分。
指标参数说明
| 指标项 | 指标名称 | 单位 |
|---|---|---|
| log_pread_bytes_total | logservice_pread_bytes_total | byte/s |
计算表达式
sum(rate(log_pread_bytes_total{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus 采集
通过 prometheusInput 从 http://127.0.0.1:${monagent.logservice.exporter.port}/metrics 采集 log_pread_bytes_total 指标。
logservice_pread_P95_duration_ms
指标介绍
随机读耗时分位数(P95),反映磁盘 I/O 及远程读取性能,按 source 维度区分。
指标参数说明
| 指标项 | 指标名称 | 单位 |
|---|---|---|
| log_pread_duration_seconds_bucket | logservice_pread_P95_duration_ms | ms |
计算表达式
1000 * histogram_quantile(0.95, sum(rate(log_pread_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheus 采集
通过 prometheusInput 从 http://127.0.0.1:${monagent.logservice.exporter.port}/metrics 采集 log_pread_duration_seconds_bucket 直方图指标。
logservice_pread_P99_duration_ms
指标介绍
随机读耗时分位数(P99),反映磁盘 I/O 及远程读取性能。
指标参数说明
| 指标项 | 指标名称 | 单位 |
|---|---|---|
| log_pread_duration_seconds_bucket | logservice_pread_P99_duration_ms | ms |
计算表达式
1000 * histogram_quantile(0.99, sum(rate(log_pread_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheus 采集
通过 prometheusInput 从 http://127.0.0.1:${monagent.logservice.exporter.port}/metrics 采集 log_pread_duration_seconds_bucket 直方图指标。