本文介绍了ARMS应用监控中常见的指标说明。
业务类指标
公共维度
维度名称 | 维度Key |
---|---|
服务名称 | service |
服务PID | pid |
机器IP | serverIp |
接口 | rpc |
指标列表
所有访问类型都包含下列指标,执行查询操作时,只需要将$callType
替换为具体的访问类型即可。详细的访问类型,请参见服务访问类型及可用维度。
例如:需要查询HTTP服务的请求数时, 只需将arms_$callType_requests_count
修改为arms_http_requests_count
。
指标名称 | 指标 | 指标类型 | 采集间隔 | 单位 | 维度 |
---|---|---|---|---|---|
总请求数 | arms_$callType_requests_count | Gauge | 15s | 无 | 不同服务访问类型维度不同,详细信息,请参见服务访问类型及可用维度。 |
错误请求数 | arms_$callType_requests_error_count | Gauge | 15s | 无 | |
总请求耗时 | arms_$callType_requests_seconds | Gauge | 15s | 秒 | |
慢请求数 | arms_$callType_requests_slow_count | Gauge | 15s | 无 | |
总请求耗时分位数 | arms_$callType_requests_latency_seconds | Summary | 15s | 秒 | 仅当服务访问类型为HTTP且开启分位数统计的情况下存在。开启分位数统计的操作,请参见高级设置。 Quantile分数位维度:
|
JVM指标
公共维度
维度名称 | 维度Key |
---|---|
服务名称 | service |
服务PID | pid |
机器IP | serverIp |
指标列表
指标名称 | 指标 | 指标类型 | 采集间隔 | 单位 | 维度 |
---|---|---|---|---|---|
累计GC发生次数 | arms_jvm_gc_total | Counter | 15s | 无 | Gen GC发生区域:
|
累计GC耗时 | arms_jvm_gc_seconds_total | Counter | 15s | 秒 | |
两次采集间隔之间的GC次数 | arms_jvm_gc_delta | Gauge | 15s | 无 | |
两次采集间隔之间的GC耗时 | arms_jvm_gc_seconds_delta | Gauge | 15s | 秒 | |
JVM线程数 | arms_jvm_threads_count | Gauge | 15s | 无 | State线程状态:
|
JVM内存区域初始大小 | arms_jvm_mem_init_bytes | Gauge | 15s | 字节 | Area区域:
ID区域细分:
|
JVM内存区域最大大小 | arms_jvm_mem_max_bytes | Gauge | 15s | 字节 | |
JVM内存区域使用大小 | arms_jvm_mem_used_bytes | Gauge | 15s | 字节 | |
JVM内存区域已提交大小 | arms_jvm_mem_committed_bytes | Gauge | 15s | 字节 | |
JVM内存区域使用比例 | arms_jvm_mem_usage_ratio | Gauge | 15s | 比例(0~1) | |
JVM已加载类 | arms_class_load_loaded | Counter | 15s | 无 | 无 |
JVM已卸载类 | arms_class_load_un_loaded | Counter | 15s | 无 | 无 |
JVM缓存池大小 | arms_jvm_buffer_pool_total_bytes | Gauge | 15s | 字节 | ID区域:
|
JVM缓存池已使用大小 | arms_jvm_buffer_pool_used_bytes | Gauge | 15s | 字节 | |
JVM缓存池个数 | arms_jvm_buffer_pool_count | Gauge | 15s | 无 | |
文件描述符打开个数 | arms_file_desc_open_count | Gauge | 15s | 无 | 无 |
文件描述符打开比例(已打开数/最大允许打开数) | arms_file_desc_open_ratio | Gauge | 15s | 比例(0~1) | 无 |
系统指标
公共维度
维度名称 | 维度Key |
---|---|
服务名称 | service |
服务PID | pid |
机器IP | serverIp |
指标列表
指标名称 | 指标 | 指标类型 | 采集间隔 | 单位 |
---|---|---|---|---|
空闲CPU占比 | arms_system_cpu_idle | Gauge | 15s | 百分数 |
IO等待CPU占比 | arms_system_cpu_io_wait | Gauge | 15s | 百分数 |
系统CPU占比 | arms_system_cpu_system | Gauge | 15s | 百分数 |
用户态CPU占比 | arms_system_cpu_user | Gauge | 15s | 百分数 |
系统负载(1分钟) | arms_system_load | Gauge | 15s | 无 |
磁盘空闲大小 | arms_system_disk_free_bytes | Gauge | 15s | 字节 |
磁盘总大小 | arms_system_disk_total_bytes | Gauge | 15s | 字节 |
磁盘使用率 | arms_system_disk_used_ratio | Gauge | 15s | 比例(0~1) |
内存Buffer大小 | arms_system_mem_buffers_bytes | Gauge | 15s | 字节 |
内存缓存大小 | arms_system_mem_cached_bytes | Gauge | 15s | 字节 |
内存空闲大小 | arms_system_mem_free_bytes | Gauge | 15s | 字节 |
内存交换区空闲大小 | arms_system_mem_swap_free_bytes | Gauge | 15s | 字节 |
内存交换区大小 | arms_system_mem_swap_total_bytes | Gauge | 15s | 字节 |
内存大小 | arms_system_mem_total_bytes | Gauge | 15s | 字节 |
已用内存大小 | arms_system_mem_used_bytes | Gauge | 15s | 字节 |
网络接收流量大小 | arms_system_net_in_bytes | Gauge | 15s | 字节 |
网口发送流量大小 | arms_system_net_out_bytes | Gauge | 15s | 字节 |
网络入口错误数 | arms_system_net_in_err | Gauge | 15s | 无 |
网络出口错误数 | arms_system_net_out_err | Gauge | 15s | 无 |
线程池指标
公共维度
维度名称 | 维度Key |
---|---|
服务名称 | service |
服务PID | pid |
机器IP | serverIp |
线程池名称 | name |
线程池类型 | type |
指标列表
指标名称 | 指标 | 指标类型 | 采集间隔 | 维度 |
---|---|---|---|---|
线程池核心线程数 | arms_threadpool_core_size | Gauge | 15s | 无 |
线程池最大线程数 | arms_threadpool_max_size | Gauge | 15s | 无 |
线程池活跃线程数 | arms_threadpool_active_size | Gauge | 15s | 无 |
线程池队列大小 | arms_threadpool_queue_size | Gauge | 15s | 无 |
线程池当前大小 | arms_threadpool_current_size | Gauge | 15s | 无 |
线程池不同状态任务数 | arms_threadpool_task_total | Gauge | 15s | Status任务状态:
|
定时任务指标
仅定时任务存在以下指标。
公共维度
维度名称 | 维度Key |
---|---|
服务名称 | service |
服务PID | pid |
机器IP | serverIp |
任务ID | rpc |
指标列表
指标名称 | 指标 | 指标类型 | 采集间隔 | 单位 |
---|---|---|---|---|
调度延迟 | arms_$callType_delay_milliseconds | Gauge | 15s | 毫秒 |
服务访问类型及可用维度
客户端类
- 访问类型
- http_client
- dubbo_client
- hsf_client
- dsf_client
- notify_client
- grpc_client
- thrift_client
- sofa_client
- mq_client
- kafka_client
- 维度
- parent:上游服务的名称
- ppid:上游服务PID
- destId:请求对端扩展信息
- endpoint:请求对端地址
- excepType:异常ID
- excepInfo:异常ID编码规则
- excepName:异常名称
- stackTraceId:异常栈ID
DB类
- 访问类型
- mysql
- oracle
- mariadb
- postgresql
- ppas
- sqlserver
- mongodb
- dmdb
- 维度
- parent:上游服务的名称
- ppid:上游服务PID
- destId:数据库名称
- endpoint:数据库地址
- excepType:异常ID
- excepInfo:异常ID编码规则
- excepName:异常名称
- stackTraceId:异常栈ID
- sqlId:SQL语句ID
服务端类
- 访问类型
- http
- dubbo
- hsf
- dsf
- user_method
- mq
- kafka
- grpc
- thrift
- sofa
- 维度
- prpc:上游接口
- parent:上游服务的名称
- ppid:上游服务PID
- endpoint:服务地址
- excepType:异常ID
- excepInfo:异常ID编码规则
- excepName:异常名称
- stackTraceId:异常栈ID
定时任务类
- 访问类型
- xxl_job
- spring_scheduled
- quartz
- elasticjob
- jdk_timer
- schedulerx
- 维度
- prpc:上游接口
- parent:上游服务的名称
- ppid:上游服务PID
- excepType:异常ID
- excepInfo:异常ID编码规则
- excepName:异常名称
- stackTraceId:异常栈ID