This topic describes the metrics that are used in Application Real-Time Monitoring (ARMS) Application Monitoring.

Business metrics

Common dimensions

Dimension name Dimension key
Service name service
Service PID pid
Server IP address serverIp
Operation rpc

Metrics

The following table lists the metrics that available for all access types. When you perform a query operation, you only need to replace $callType with a specific access type. For more information about access types, see Service access types and available dimensions.

For example, to query the number of requests for HTTP services, you only need to change arms_$callType_requests_count to arms_http_requests_count.

Metric name Metric Metric type Collection interval Unit Dimension
Total number of requests arms_$callType_requests_count Gauge 15s None Different service access types have different dimensions. For more information, see Service access types and available dimensions.
Number of error requests arms_$callType_requests_error_count Gauge 15s None
Total request duration arms_$callType_requests_seconds Gauge 15s Second
Number of slow requests arms_$callType_requests_slow_count Gauge 15s None
Quantile of total request duration arms_$callType_requests_latency_seconds Summary 15s Second This metric is used only when the service access type is HTTP and quantile statistics is enabled.

Quantile dimensions:

  • 0.5
  • 0.75
  • 0.90
  • 0.99

JVM metrics

Common dimensions

Dimension name Dimension key
Service name service
Service PID pid
Server IP address serverIp

Metrics

Metric name Metric Metric type Collection interval Unit Dimension
Cumulative GC occurrences arms_jvm_gc_total Counter 15s None GC generation:
  • young: Young Generation
  • old: Old Generation
Cumulative GC duration arms_jvm_gc_seconds_total Counter 15s Second
Occurrences of GC between two collection intervals arms_jvm_gc_delta Gauge 15s None
Duration of GC between two collection intervals arms_jvm_gc_seconds_delta Gauge 15s Second
Number of JVM threads arms_jvm_threads_count Gauge 15s None Thread status:
  • blocked
  • live
  • daemon
  • new
  • dead-lock
  • runnable
  • terminated
  • timed-wait
  • wait
Initial size of JVM memory area arms_jvm_mem_init_bytes Gauge 15s Byte Area:
  • Heap memory
  • Non-heap memory
  • Total

ID space:

  • Eden Space
  • Old Generation
  • Survivor Space
  • Metaspace
  • Code Cache
  • Compressed Class Space
  • Total
Maximum size of JVM memory area arms_jvm_mem_max_bytes Gauge 15s Byte
Used size of JVM memory area arms_jvm_mem_used_bytes Gauge 15s Byte
Committed size of JVM memory area arms_jvm_mem_committed_bytes Gauge 15s Byte
Usage ratio of JVM memory area arms_jvm_mem_usage_ratio Gauge 15s Ratio (0 to 1)
Loaded JVM classes arms_class_load_loaded Counter 15s None None
Unloaded JVM classes arms_class_load_un_loaded Counter 15s None None
JVM cache pool size arms_jvm_buffer_pool_total_bytes Gauge 15s Byte ID space:
  • direct
  • mapped
Used size of JVM cache pool arms_jvm_buffer_pool_used_bytes Gauge 15s Byte
Number of JVM cache pools arms_jvm_buffer_pool_count Gauge 15s None
Number of opened file descriptors arms_file_desc_open_count Gauge 15s None None
File descriptor opening ratio (Number of opened file descriptors / Maximum number allowed) arms_file_desc_open_ratio Gauge 15s Ratio (0 to 1) None

System metrics

Common dimensions

Dimension name Dimension key
Service name service
Service PID pid
Server IP address serverIp

Metrics

Metric name Metric Metric type Collection interval Unit
Idle CPU percentage arms_system_cpu_idle Gauge 15s Percentage
I/O wait CPU percentage arms_system_cpu_io_wait Gauge 15s Percentage
System CPU percentage arms_system_cpu_system Gauge 15s Percentage
User CPU percentage arms_system_cpu_user Gauge 15s Percentage
System load (1 minute) arms_system_load Gauge 15s None
Idle disk size arms_system_disk_free_bytes Gauge 15s Byte
Total disk size arms_system_disk_total_bytes Gauge 15s Byte
Disk usage arms_system_disk_used_ratio Gauge 15s Ratio (0 to 1)
Memory buffer size arms_system_mem_buffers_bytes Gauge 15s Byte
Memory cache size arms_system_mem_cached_bytes Gauge 15s Byte
Idle memory size arms_system_mem_free_bytes Gauge 15s Byte
Idle memory swap size arms_system_mem_swap_free_bytes Gauge 15s Byte
Memory swap size arms_system_mem_swap_total_bytes Gauge 15s Byte
Memory size arms_system_mem_total_bytes Gauge 15s Byte
Used memory size arms_system_mem_used_bytes Gauge 15s Byte
Inbound network traffic arms_system_net_in_bytes Gauge 15s Byte
Outbound network traffic arms_system_net_out_bytes Gauge 15s Byte
Number of network ingress errors arms_system_net_in_err Gauge 15s None
Number of network egress errors arms_system_net_out_err Gauge 15s None

Thread pool metrics

Common dimensions

Dimension name Dimension key
Service name service
Service PID pid
Server IP address serverIp
Thread pool name name
Thread pool type type

Metrics

Metric name Metric Metric type Collection interval Dimension
Number of core threads in a thread pool arms_threadpool_core_size Gauge 15s None
Maximum number of threads in a thread pool arms_threadpool_max_size Gauge 15s None
Number of active threads in a thread pool arms_threadpool_active_size Gauge 15s None
Thread pool queue size arms_threadpool_queue_size Gauge 15s None
Current size of a thread pool arms_threadpool_current_size Gauge 15s None
Number of tasks in different states in a thread pool arms_threadpool_task_total Gauge 15s
  • status: the status of a task
  • scheduled: The task is scheduled.
  • completed: The task is completed.
  • rejected: The task is rejected.

Service access types and available dimensions

Clients

  • Access types
    • http_client
    • hsf_client
    • mq_client
    • kafka_send
    • notify_client
    • dubbo_client
    • grpc_client
    • thrift_client
  • Dimensions
    • parent: the name of an upstream service
    • ppid: the PID of an upstream service
    • destId: the extension information of a request peer
    • endpoint: the endpoint of a request peer
    • excepType: the ID of an exception
    • excepInfo: the ID encoding rule of an exception
    • stackTraceId: the ID of an exception stack

Databases

  • Access types
    • mysql
    • oracle
    • mariadb
    • postgresql
    • ppas
    • sqlserver
    • mongodb
    • dmdb
  • Dimensions
    • parent: the name of an upstream service
    • ppid: the PID of an upstream service
    • destId: the name of a database
    • endpoint: the endpoint of a database
    • excepType: the ID of an exception
    • excepInfo: the ID encoding rule of an exception
    • stackTraceId: the ID of an exception stack
    • sqlId: the ID of an SQL statement

Servers

  • Access types
    • http
    • hsf
    • dubbo
    • user_method
    • grpc
    • thrift
  • Dimensions
    • prpc: an upstream interface
    • parent: the name of an upstream service
    • ppid: the PID of an upstream service
    • endpoint: the endpoint of a service
    • excepType: the ID of an exception
    • excepInfo: the ID encoding rule of an exception
    • stackTraceId: the ID of an exception stack

Clients

  • Access types
    • xxl
    • schedulerx
  • Dimensions
    • prpc: an upstream interface
    • parent: the name of an upstream service
    • ppid: the PID of an upstream service