From 7b2cd2ac01f97bf5feccf28464926bcdc0de34c5 Mon Sep 17 00:00:00 2001 From: luzhihao Date: Mon, 14 Oct 2024 20:06:09 +0800 Subject: [PATCH] update sli metrics --- gopher_tech.md | 72 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 55 insertions(+), 17 deletions(-) diff --git a/gopher_tech.md b/gopher_tech.md index 20748b7..1eb2d3a 100644 --- a/gopher_tech.md +++ b/gopher_tech.md @@ -250,14 +250,63 @@ | fs_inodes_total | gauge | num | 容器内inode资源统计(总计) | | file_descriptors | gauge | num | 容器内文件句柄数量 | -## 容器读写性能 +## 容器SLI性能 + +实体名:sli_container + +| metrics_name | metrics_type | unit | metrics description | +| ------------------ | ------------ | ---- | ----------------------------------------------- | +| container_id | key | | 容器ID | +| cpu_wait_histo | histogram | ms | Latency of CPU wait | +| cpu_sleep_histo | histogram | ms | Latency of CPU sleep | +| cpu_iowait_histo | histogram | ms | Latency of CPU iowait | +| cpu_block_histo | histogram | ms | Latency of CPU block | +| cpu_rundelay_histo | histogram | ms | Latency of CPU rundelay | +| cpu_longsys_histo | histogram | ms | Latency of CPU long systime | +| cpu_wait | gauge | ms | Latency of CPU wait | +| cpu_sleep | gauge | ms | Latency of CPU sleep | +| cpu_iowait | gauge | ms | Latency of CPU iowait | +| cpu_block | gauge | ms | Latency of CPU block | +| cpu_rundelay | gauge | ms | Latency of CPU rundelay | +| cpu_longsys | gauge | ms | Latency of CPU long systime | +| mem_reclaim_histo | histogram | ms | Latency of memory reclaim | +| mem_compact_histo | histogram | ms | Latency of memory compact | +| mem_swapin_histo | histogram | ms | Latency of memory swapin | +| mem_reclaim | gauge | ms | Latency of memory reclaim | +| mem_compact | gauge | ms | Latency of memory compact | +| mem_swapin | gauge | ms | Latency of memory swapin | +| bio_latency_histo | histogram | ns | I/O operation delay at the BIO layer (unit: ns) | +| bio_latency | gauge | ns | I/O operation delay at the BIO layer (unit: ns) | + +实体名:sli_node + +| metrics_name | metrics_type | unit | metrics description | +| ------------------ | ------------ | ---- | ----------------------------------------------- | +| sli_node_key | key | | 容器宿主机的SLI统计 | +| cpu_wait_histo | histogram | ms | Latency of CPU wait | +| cpu_sleep_histo | histogram | ms | Latency of CPU sleep | +| cpu_iowait_histo | histogram | ms | Latency of CPU iowait | +| cpu_block_histo | histogram | ms | Latency of CPU block | +| cpu_rundelay_histo | histogram | ms | Latency of CPU rundelay | +| cpu_longsys_histo | histogram | ms | Latency of CPU long systime | +| cpu_wait | gauge | ms | Latency of CPU wait | +| cpu_sleep | gauge | ms | Latency of CPU sleep | +| cpu_iowait | gauge | ms | Latency of CPU iowait | +| cpu_block | gauge | ms | Latency of CPU block | +| cpu_rundelay | gauge | ms | Latency of CPU rundelay | +| cpu_longsys | gauge | ms | Latency of CPU long systime | +| mem_reclaim_histo | histogram | ms | Latency of memory reclaim | +| mem_compact_histo | histogram | ms | Latency of memory compact | +| mem_swapin_histo | histogram | ms | Latency of memory swapin | +| mem_reclaim | gauge | ms | Latency of memory reclaim | +| mem_compact | gauge | ms | Latency of memory compact | +| mem_swapin | gauge | ms | Latency of memory swapin | +| bio_latency_histo | histogram | ns | I/O operation delay at the BIO layer (unit: ns) | +| bio_latency | gauge | ns | I/O operation delay at the BIO layer (unit: ns) | + + -实体名:container -| metrics_name | table_name | metrics_type | unit | metrics description | -| ------------ | ------------- | ------------ | ------- | ---------------------------- | -| dir | system_con_io | label | | 观测容器指定目录 | -| write_rate | system_con_io | gauge | bytes/s | 容器往上述指定目录写入的速率 | ## GPU/NPU @@ -430,17 +479,6 @@ | gc_coll_secs_count | gauge | num | 应用内发生GC次数 | | gc_coll_secs_sum | gauge | seconds | 应用内GC花费的总时间 | -#### 应用IOCTL - -| metrics_name | metrics_type | unit | metrics description | -| ------------ | ------------ | ----- | ----------------------- | -| ioctl_fd | label | | 应用调用ioctl的设备fd | -| ioctl_dir | label | | 应用调用ioctl的方向 | -| ioctl_type | label | | 应用调用ioctl的幻数 | -| ioctl_nr | label | | 应用调用ioctl的序数 | -| ioctl_size | gauge | bytes | 应用调用ioctl的数据大小 | -| ns_ioctl | gauge | ns | 应用调用ioctl的时延 | - ### 应用网络 -- Gitee