refactor: add metric description in sql
This commit is contained in:
parent
e0cc7dbffa
commit
4b9cbf9aee
176
sql/n9e.sql
176
sql/n9e.sql
|
@ -323,3 +323,179 @@ CREATE TABLE `metric_description` (
|
|||
|
||||
insert into metric_description(metric, description) values('system_cpu_idle', '系统总体CPU空闲率(单位:%)');
|
||||
insert into metric_description(metric, description) values('system_cpu_util', '系统总体CPU使用率(单位:%)');
|
||||
insert into metric_description(metric, description) values('ntp_offset','本地时钟与NTP参考时钟之间的时间差(单位:秒)');
|
||||
insert into metric_description(metric, description) values('proc_cpu_sys','进程系统态cpu使用率(单位:%)');
|
||||
insert into metric_description(metric, description) values('proc_cpu_threads','进程中线程数量');
|
||||
insert into metric_description(metric, description) values('proc_cpu_total','进程cpu使用率(单位:%)');
|
||||
insert into metric_description(metric, description) values('proc_cpu_user','进程用户态cpu使用率(单位:%)');
|
||||
insert into metric_description(metric, description) values('proc_createtime','进程启动时间');
|
||||
insert into metric_description(metric, description) values('proc_io_read_rate','进程io读取频率(单位:hz)');
|
||||
insert into metric_description(metric, description) values('proc_io_readbytes_rate','进程io读取速率(单位:b/s)');
|
||||
insert into metric_description(metric, description) values('proc_io_write_rate','进程io写入频率(单位:hz)');
|
||||
insert into metric_description(metric, description) values('proc_io_writebytes_rate','进程io写入速率(单位:b/s)');
|
||||
insert into metric_description(metric, description) values('proc_mem_data','进程data内存大小');
|
||||
insert into metric_description(metric, description) values('proc_mem_dirty','进程dirty内存大小');
|
||||
insert into metric_description(metric, description) values('proc_mem_lib','进程lib内存大小');
|
||||
insert into metric_description(metric, description) values('proc_mem_rss','进程常驻内存大小');
|
||||
insert into metric_description(metric, description) values('proc_mem_shared','进程共享内存大小');
|
||||
insert into metric_description(metric, description) values('proc_mem_swap','进程交换空间大小');
|
||||
insert into metric_description(metric, description) values('proc_mem_text','进程Text内存大小');
|
||||
insert into metric_description(metric, description) values('proc_mem_vms','进程虚拟内存大小');
|
||||
insert into metric_description(metric, description) values('proc_net_bytes_rate','进程网络传输率(单位:b/s)');
|
||||
insert into metric_description(metric, description) values('proc_net_conn_rate','进程网络连接频率(单位:hz)');
|
||||
insert into metric_description(metric, description) values('proc_num','进程数量');
|
||||
insert into metric_description(metric, description) values('proc_open_fd_count','进程文件句柄数量');
|
||||
insert into metric_description(metric, description) values('proc_port_listen','进程监听端口');
|
||||
insert into metric_description(metric, description) values('proc_uptime','进程运行时间');
|
||||
insert into metric_description(metric, description) values('system_cpu_context_switches','cpu上下文交换次数');
|
||||
insert into metric_description(metric, description) values('system_cpu_guest','CPU运行虚拟处理器的时间百分比,仅适用于虚拟机监控程序');
|
||||
insert into metric_description(metric, description) values('system_cpu_interrupt','处理器在处理中断上花费的时间百分比');
|
||||
insert into metric_description(metric, description) values('system_cpu_iowait','CPU等待IO操作完成所花费的时间百分比');
|
||||
insert into metric_description(metric, description) values('system_cpu_num_cores','CPU核心数');
|
||||
insert into metric_description(metric, description) values('system_cpu_stolen','虚拟CPU等待虚拟机监控程序为另一个虚拟CPU提供服务所用的时间百分比,仅适用于虚拟机');
|
||||
insert into metric_description(metric, description) values('system_cpu_system','CPU运行内核的时间百分比');
|
||||
insert into metric_description(metric, description) values('system_cpu_user','CPU用于运行用户空间进程的时间百分比');
|
||||
insert into metric_description(metric, description) values('system_disk_free','可用的磁盘空间量');
|
||||
insert into metric_description(metric, description) values('system_disk_in_use','磁盘空间使用率(单位:%)');
|
||||
insert into metric_description(metric, description) values('system_disk_read_time','每台设备阅读所花费的时间 (单位:ms)');
|
||||
insert into metric_description(metric, description) values('system_disk_read_time_pct','读取磁盘时间百分比');
|
||||
insert into metric_description(metric, description) values('system_disk_total','磁盘空间总量');
|
||||
insert into metric_description(metric, description) values('system_disk_used','磁盘空间已用量');
|
||||
insert into metric_description(metric, description) values('system_disk_write_time','每台设备写入所花费的时间 (单位:ms)');
|
||||
insert into metric_description(metric, description) values('system_disk_write_time_pct','写入磁盘的时间百分比');
|
||||
insert into metric_description(metric, description) values('system_fs_file_handles_allocated','系统分配文件句柄数');
|
||||
insert into metric_description(metric, description) values('system_fs_file_handles_allocated_unused','系统上未使用的已分配文件句柄数');
|
||||
insert into metric_description(metric, description) values('system_fs_file_handles_in_use','已使用的已分配文件句柄数量超过系统最大值');
|
||||
insert into metric_description(metric, description) values('system_fs_file_handles_max','系统上分配的最大文件句柄');
|
||||
insert into metric_description(metric, description) values('system_fs_file_handles_used','系统使用的已分配文件句柄数');
|
||||
insert into metric_description(metric, description) values('system_fs_inodes_free','空闲 inode 的数量');
|
||||
insert into metric_description(metric, description) values('system_fs_inodes_in_use','正在使用的 inode 数量占总数的百分比');
|
||||
insert into metric_description(metric, description) values('system_fs_inodes_total','inode 总数');
|
||||
insert into metric_description(metric, description) values('system_fs_inodes_used','正在使用的 inode 数量');
|
||||
insert into metric_description(metric, description) values('system_io_avg_q_sz','发送到设备的请求的平均队列大小');
|
||||
insert into metric_description(metric, description) values('system_io_avg_rq_sz','向设备发出的请求的平均大小');
|
||||
insert into metric_description(metric, description) values('system_io_await','每个I/O的平均耗时 (单位:ms)');
|
||||
insert into metric_description(metric, description) values('system_io_r_await','读请求平均耗时 (单位:ms)');
|
||||
insert into metric_description(metric, description) values('system_io_r_s','每秒向设备发出的读取请求数');
|
||||
insert into metric_description(metric, description) values('system_io_rkb_s','每秒从设备读取的千字节数');
|
||||
insert into metric_description(metric, description) values('system_io_rrqm_s','每秒合并到设备队列的读取请求数');
|
||||
insert into metric_description(metric, description) values('system_io_svctm','向设备发出请求的平均服务时间');
|
||||
insert into metric_description(metric, description) values('system_io_util','向设备发出 I/O 请求的 CPU 时间百分比');
|
||||
insert into metric_description(metric, description) values('system_io_w_await','写请求平均耗时 (单位:ms)');
|
||||
insert into metric_description(metric, description) values('system_io_w_s','每秒向设备发出的写请求数');
|
||||
insert into metric_description(metric, description) values('system_io_wkb_s','每秒写入设备的千字节数');
|
||||
insert into metric_description(metric, description) values('system_io_wrqm_s','每秒合并到设备中的写入请求数');
|
||||
insert into metric_description(metric, description) values('system_load_1','1分钟的平均系统负载');
|
||||
insert into metric_description(metric, description) values('system_load_15','15分钟的平均系统负载');
|
||||
insert into metric_description(metric, description) values('system_load_5','5分钟的平均系统负载');
|
||||
insert into metric_description(metric, description) values('system_load_norm_1','1 分钟内的平均系统负载由CPU数量标准化');
|
||||
insert into metric_description(metric, description) values('system_load_norm_15','15 分钟内的平均系统负载由CPU数量标准化');
|
||||
insert into metric_description(metric, description) values('system_load_norm_5','5 分钟内的平均系统负载由CPU数量标准化');
|
||||
insert into metric_description(metric, description) values('system_mem_buffered','用于文件缓冲区的物理 RAM 量');
|
||||
insert into metric_description(metric, description) values('system_mem_cached','用作缓存内存的物理 RAM 量');
|
||||
insert into metric_description(metric, description) values('system_mem_commit_limit','系统当前可分配的内存总量,基于过量使用率');
|
||||
insert into metric_description(metric, description) values('system_mem_committed','已在磁盘分页文件上保留空间的物理内存量,以防必须将其写回磁盘');
|
||||
insert into metric_description(metric, description) values('system_mem_committed_as','系统上当前分配的内存量,即使它尚未被进程使用');
|
||||
insert into metric_description(metric, description) values('system_mem_free','空闲内存的数量');
|
||||
insert into metric_description(metric, description) values('system_mem_nonpaged','操作系统用于对象的物理内存量,这些对象不能写入磁盘,但只要分配了它们就必须保留在物理内存中');
|
||||
insert into metric_description(metric, description) values('system_mem_page_free','空闲页面文件的数量');
|
||||
insert into metric_description(metric, description) values('system_mem_page_tables','专用于最低页表级别的内存量');
|
||||
insert into metric_description(metric, description) values('system_mem_page_total','页面文件的总大小');
|
||||
insert into metric_description(metric, description) values('system_mem_page_used','正在使用的页面文件的数量');
|
||||
insert into metric_description(metric, description) values('system_mem_paged','操作系统为对象使用的物理内存量,这些对象在不使用时可以写入磁盘');
|
||||
insert into metric_description(metric, description) values('system_mem_pagefile_free','空闲页文件的数量');
|
||||
insert into metric_description(metric, description) values('system_mem_pagefile_pct_free','免费的页文件数量占总数的百分比');
|
||||
insert into metric_description(metric, description) values('system_mem_pagefile_total','页文件的总大小');
|
||||
insert into metric_description(metric, description) values('system_mem_pagefile_used','正在使用的页文件的数量');
|
||||
insert into metric_description(metric, description) values('system_mem_pct_usable','可用物理 RAM 的数量占总量的百分比');
|
||||
insert into metric_description(metric, description) values('system_mem_pct_used','已使用物理 RAM 的数量占总量的百分比');
|
||||
insert into metric_description(metric, description) values('system_mem_shared','用作共享内存的物理 RAM 量');
|
||||
insert into metric_description(metric, description) values('system_mem_slab','内核用来缓存数据结构供自己使用的内存量');
|
||||
insert into metric_description(metric, description) values('system_mem_total','物理内存总量(mb)');
|
||||
insert into metric_description(metric, description) values('system_mem_usable','如果存在 /proc/meminfo 中 MemAvailable 的值,但如果不存在,则回退到添加空闲 + 缓冲 + 缓存内存(mb)');
|
||||
insert into metric_description(metric, description) values('system_mem_used','正在使用的 RAM 量(mb)');
|
||||
insert into metric_description(metric, description) values('system_net_bytes_rcvd',' 每秒设备上收到的字节数');
|
||||
insert into metric_description(metric, description) values('system_net_bytes_sent',' 每秒设备上发送的字节数');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_acct','boolean,启用连接跟踪流量计费每流程64位字节和数据包计数器');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_buckets','哈希表的大小');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_checksum','boolean验证传入数据包的校验和');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_count','ConnTrack表中存在的连接数');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_drop','ConnTrack表中的跌幅数');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_early_drop','Conntrack表中的早期跌落的数量');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_error','Conntrack表中的错误数');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_events','boolean启用连接跟踪代码将通过ctnetlink提供具有连接跟踪事件的用户空间');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_events_retry_timeout','events_retry_timeout');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_expect_max','期望表的最大大小');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_found','当前分配的流条目的数量');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_generic_timeout','默认为通用超时这是指第4层未知/不支持的协议');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_helper','boolean启用自动contrack辅助分配');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_icmp_timeout','默认为ICMP超时');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_ignore','ConnTrack表中忽略的数量');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_insert','ConnTrack表中的插入数');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_insert_failed','ConnTrack表中的插入失败的数量');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_invalid','ConnTrack表中无效的数量');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_log_invalid','日志日志无效的数据包由值指定的类型');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_max','Conntrack表最大容量');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_search_restart','搜索重启');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_tcp_be_liberal','boolean只能从窗口rst段标记为无效');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_tcp_loose','boolean以启用拾取已经建立的连接');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_tcp_max_retrans','可以重新发送的最大数据包数,而无需从目的地接收(可接受的)ACK');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_tcp_timeout','TCP超时');
|
||||
insert into metric_description(metric, description) values('system_net_conntrack_timestamp','boolean启用连接跟踪流量时间戳');
|
||||
insert into metric_description(metric, description) values('system_net_packets_in_count','接口接收的数据数据包数');
|
||||
insert into metric_description(metric, description) values('system_net_packets_in_error','设备驱动程序检测到的数据包接收错误数');
|
||||
insert into metric_description(metric, description) values('system_net_packets_out_count','接口传输的数据数据包数');
|
||||
insert into metric_description(metric, description) values('system_net_packets_out_error','设备驱动程序检测到的数据包数量');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_backlog_drops','数据包的数量丢弃,因为TCP积压中没有空间自代理V5.14.0以来');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_backlog_drops_count','丢弃的数据包总数是因为TCP积压没有空间');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_failed_retransmits_count','无法重新发送的j数据包总数');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_in_segs','收到的TCP段数(仅限Linux或Solaris)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_in_segs_count','收到的TCP段的总数(仅限Linux或Solaris)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_listen_drops','连接的次数已退出侦听由于代理v5.14.0以来可用');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_listen_drops_count','Connections的总次数已退出侦听');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_listen_overflows','连接的次数已溢出接受缓冲区由于代理V5.14.0以来');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_listen_overflows_count','连接的总次数已溢出接受缓冲区');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_out_segs','仅传输的TCP段数(仅限Linux或Solaris)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_out_segs_count','仅传输的TCP段(仅限Linux或Solaris)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_rcv_packs','收到的TCP数据包数(仅限BSD)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_recv_q_95percentile','TCP接收队列大小的第95百分位数');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_recv_q_avg','平均TCP接收队列大小');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_recv_q_count','连接速率');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_recv_q_max','最大TCP接收队列大小');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_recv_q_median','中位TCP接收队列大小');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_retrans_packs','TCP报文的数量重新发送(仅限BSD)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_retrans_segs','TCP段的数量重传(仅限Linux或Solaris)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_retrans_segs_count','重传TCP段的总数(仅限Linux或Solaris)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_send_q_95percentile','TCP发送队列大小的第95百分位数');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_send_q_avg','平均TCP发送队列大小');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_send_q_count','连接速率');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_send_q_max','最大TCP发送队列大小');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_send_q_median','中位TCP发送队列大小');
|
||||
insert into metric_description(metric, description) values('system_net_tcp_sent_packs','传输的TCP报文的数量(仅限BSD)');
|
||||
insert into metric_description(metric, description) values('system_net_tcp4_closing','TCP IPv4关闭中连接的数量');
|
||||
insert into metric_description(metric, description) values('system_net_tcp4_established','TCP IPv4建立的连接数');
|
||||
insert into metric_description(metric, description) values('system_net_tcp4_listening','TCP IPv4监听连接的数量');
|
||||
insert into metric_description(metric, description) values('system_net_tcp4_opening','TCP IPv4打开中连接的数量');
|
||||
insert into metric_description(metric, description) values('system_net_tcp6_closing','TCP IPv6关闭中连接的数量');
|
||||
insert into metric_description(metric, description) values('system_net_tcp6_established','TCP IPv6建立的连接数');
|
||||
insert into metric_description(metric, description) values('system_net_tcp6_listening','TCP IPv6监听连接的数量');
|
||||
insert into metric_description(metric, description) values('system_net_tcp6_opening','TCP IPv6打开中连接的数量');
|
||||
insert into metric_description(metric, description) values('system_net_udp_in_datagrams','向UDP用户提供的UDP数据报的速率');
|
||||
insert into metric_description(metric, description) values('system_net_udp_in_datagrams_count','向UDP用户提供的UDP数据报总数');
|
||||
insert into metric_description(metric, description) values('system_net_udp_in_errors','由于缺少目的端口缺少应用程序以外的原因无法提供的接收UDP数据报的速率');
|
||||
insert into metric_description(metric, description) values('system_net_udp_in_errors_count','由于目的地端口缺少应用程序,无法出于缺少应用程序的原因无法提供的接收UDP数据报的总数');
|
||||
insert into metric_description(metric, description) values('system_net_udp_no_ports','目的地端口没有应用程序的收到UDP数据报的速率');
|
||||
insert into metric_description(metric, description) values('system_net_udp_no_ports_count','收到的UDP数据报总数在目标端口没有应用程序');
|
||||
insert into metric_description(metric, description) values('system_net_udp_out_datagrams','从此实体发送的UDP数据报');
|
||||
insert into metric_description(metric, description) values('system_net_udp_out_datagrams_count','从此实体发送的UDP数据报总数');
|
||||
insert into metric_description(metric, description) values('system_net_udp_rcv_buf_errors','丢失的UDP数据报速率因为接收缓冲区中没有空间');
|
||||
insert into metric_description(metric, description) values('system_net_udp_rcv_buf_errors_count','丢失的UDP数据报总数因接收缓冲区没有空间');
|
||||
insert into metric_description(metric, description) values('system_net_udp_snd_buf_errors','udp数据报丢失的速率因为发送缓冲区中没有空间');
|
||||
insert into metric_description(metric, description) values('system_proc_count','进程数(仅限 Windows)');
|
||||
insert into metric_description(metric, description) values('system_proc_queue_length','在处理器就绪队列中观察到延迟并等待执行的线程数(仅限 Windows)');
|
||||
insert into metric_description(metric, description) values('system_swap_cached','用作缓存的交换空间');
|
||||
insert into metric_description(metric, description) values('system_swap_free','可用交换空间的数量');
|
||||
insert into metric_description(metric, description) values('system_swap_pct_free','未使用的交换空间量占总数的比例(0~1)');
|
||||
insert into metric_description(metric, description) values('system_swap_total','交换空间总量');
|
||||
insert into metric_description(metric, description) values('system_swap_used','正在使用的交换空间量');
|
||||
insert into metric_description(metric, description) values('system_uptime','系统运行的时间');
|
Loading…
Reference in New Issue