跳至主要内容

系统仪表盘 (system.dashboards) 中使用的指标与系统自定义指标 (system.custom_metrics) 中的 Prometheus 指标映射

·阅读时间 3 分钟

下表提供了 `system.dashboards` 中使用的指标到 `system.custom_metrics` 中的 Prometheus 指标的映射。
这对于希望监控 `system.dashboards` 中相同指标的客户很有用。

system.dashboards 中的指标到 system.custom_metrics 中的 Prometheus 指标的映射表

仪表盘标题Prometheus 指标名称 (system.custom_metrics)
概览每秒查询数ClickHouseProfileEvents_Query
概览CPU 使用率 (核心)ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds
概览正在运行的查询ClickHouseMetrics_Query
概览正在运行的合并ClickHouseMetrics_Merge
概览每秒选定字节数ClickHouseProfileEvents_SelectedBytes
概览IO 等待ClickHouseProfileEvents_OSIOWaitMicroseconds
概览CPU 等待ClickHouseProfileEvents_OSCPUWaitMicroseconds
概览操作系统 CPU 使用率 (用户空间)ClickHouseAsyncMetrics_OSUserTimeNormalized
概览操作系统 CPU 使用率 (内核)ClickHouseAsyncMetrics_OSSystemTimeNormalized
概览从磁盘读取ClickHouseProfileEvents_OSReadBytes
概览从文件系统读取ClickHouseProfileEvents_OSReadChars
概览内存 (跟踪)ClickHouseMetrics_MemoryTracking
概览负载平均值 (15 分钟)ClickHouseAsyncMetrics_LoadAverage15
概览每秒选定行数ClickHouseProfileEvents_SelectedRows
概览每秒插入行数ClickHouseProfileEvents_InsertedRows
概览合并树总部件数ClickHouseAsyncMetrics_TotalPartsOfMergeTreeTables
概览分区最大部件数ClickHouseAsyncMetrics_MaxPartCountForPartition
云服务概览每秒查询数ClickHouseProfileEvents_Query
云服务概览CPU 使用率 (核心)ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds
云服务概览正在运行的查询ClickHouseMetrics_Query
云服务概览正在运行的合并ClickHouseMetrics_Merge
云服务概览每秒选定字节数ClickHouseProfileEvents_SelectedBytes
云服务概览IO 等待 (本地文件系统)ClickHouseProfileEvents_OSIOWaitMicroseconds
云服务概览S3 读取等待ClickHouseProfileEvents_ReadBufferFromS3Microseconds
云服务概览每秒 S3 读取错误数ProfileEvent_ReadBufferFromS3RequestsErrors
云服务概览CPU 等待ClickHouseProfileEvents_OSCPUWaitMicroseconds
云服务概览操作系统 CPU 使用率 (用户空间,标准化)ClickHouseAsyncMetrics_OSUserTimeNormalized
云服务概览操作系统 CPU 使用率 (内核,标准化)ClickHouseAsyncMetrics_OSSystemTimeNormalized
云服务概览从磁盘读取 (字节/秒)ClickHouseProfileEvents_OSReadBytes
云服务概览从文件系统读取 (字节/秒)ClickHouseProfileEvents_OSReadChars
云服务概览内存 (跟踪,字节)ClickHouseMetrics_MemoryTracking
云服务概览负载平均值 (15 分钟)ClickHouseAsyncMetrics_LoadAverage15
云服务概览每秒选定行数ClickHouseProfileEvents_SelectedRows
云服务概览每秒插入行数ClickHouseProfileEvents_InsertedRows
云服务概览合并树总部件数ClickHouseAsyncMetrics_TotalPartsOfMergeTreeTables
云服务概览分区最大部件数ClickHouseAsyncMetrics_MaxPartCountForPartition
云服务概览从 S3 读取 (字节/秒)ClickHouseProfileEvents_ReadBufferFromS3Bytes
云服务概览文件系统缓存大小ClickHouseMetrics_FilesystemCacheSize
云服务概览磁盘 S3 写入请求/秒ClickHouseProfileEvents_DiskS3PutObject + ClickHouseProfileEvents_DiskS3UploadPart + ClickHouseProfileEvents_DiskS3CreateMultipartUpload + ClickHouseProfileEvents_DiskS3CompleteMultipartUpload
云服务概览磁盘 S3 读取请求/秒ClickHouseProfileEvents_DiskS3GetObject + ClickHouseProfileEvents_DiskS3HeadObject + ClickHouseProfileEvents_DiskS3ListObjects
云服务概览文件系统缓存命中率ClickHouseProfileEvents_CachedReadBufferReadFromCacheBytes / (ClickHouseProfileEvents_CachedReadBufferReadFromCacheBytes + ClickHouseProfileEvents_CachedReadBufferReadFromSourceBytes)
云服务概览页面缓存命中率greatest(0, (sum(ClickHouseProfileEvents_OSReadChars) - sum(ClickHouseProfileEvents_OSReadBytes)) / (sum(ClickHouseProfileEvents_OSReadChars) + sum(ClickHouseProfileEvents_ReadBufferFromS3Bytes)))
云服务概览网络接收字节/秒ClickHouseProfileEvents_NetworkReceiveBytes
云服务概览网络发送字节/秒ClickHouseProfileEvents_NetworkSendBytes

相关链接
https://clickhouse.ac.cn/docs/en/integrations/prometheus