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

Business metrics

Common dimensions

Dimension nameDimension key
Service nameservice
Service PIDpid
Server IP addressserverIp
Operationrpc

Metrics

The following table describes 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 HTTP requests, you only need to change arms_$callType_requests_count to arms_http_requests_count.

Metric nameMetricMetric typeCollection intervalUnitDimension
Total number of requestsarms_$callType_requests_countGauge15sNoneDifferent service access types have different dimensions. For more information, see Service access types and available dimensions.
Number of error requestsarms_$callType_requests_error_countGauge15sNone
Total request durationarms_$callType_requests_secondsGauge15sSecond
Number of slow requestsarms_$callType_requests_slow_countGauge15sNone
Quantile of total request durationarms_$callType_requests_latency_secondsSummary15sSecondThis metric is used only when the service access type is HTTP and quantile statistics is enabled. For more information, see Configure advanced settings.

Quantile dimensions:

  • 0.5
  • 0.75
  • 0.90
  • 0.99

JVM metrics

Common dimensions

Dimension nameDimension key
Service nameservice
Service PIDpid
Server IP addressserverIp

Metrics

Metric nameMetricMetric typeCollection intervalUnitDimension
Cumulative GC occurrencesarms_jvm_gc_totalCounter15sNoneGC generation:
  • Young: Young Generation
  • Old: Old Generation
Cumulative GC durationarms_jvm_gc_seconds_totalCounter15sSecond
Occurrences of GC between two collection intervalsarms_jvm_gc_deltaGauge15sNone
Duration of GC between two collection intervalsarms_jvm_gc_seconds_deltaGauge15sSecond
Number of JVM threadsarms_jvm_threads_countGauge15sNoneThread status:
  • Blocked
  • Live
  • Daemon
  • New
  • Dead-lock
  • Runnable
  • Terminated
  • Timed-wait
  • Wait
Initial size of JVM memory areaarms_jvm_mem_init_bytesGauge15sByteArea:
  • 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 areaarms_jvm_mem_max_bytesGauge15sByte
Used size of JVM memory areaarms_jvm_mem_used_bytesGauge15sByte
Committed size of JVM memory areaarms_jvm_mem_committed_bytesGauge15sByte
Usage ratio of JVM memory areaarms_jvm_mem_usage_ratioGauge15sRatio (0 to 1)
Loaded JVM classesarms_class_load_loadedCounter15sNoneNone
Unloaded JVM classesarms_class_load_un_loadedCounter15sNoneNone
JVM cache pool sizearms_jvm_buffer_pool_total_bytesGauge15sByteID space:
  • Direct
  • Mapped
Used size of JVM cache poolarms_jvm_buffer_pool_used_bytesGauge15sByte
Number of JVM cache poolsarms_jvm_buffer_pool_countGauge15sNone
Number of opened file descriptorsarms_file_desc_open_countGauge15sNoneNone
File descriptor opening ratio (Number of opened file descriptors/Maximum number allowed)arms_file_desc_open_ratioGauge15sRatio (0 to 1)None

System metrics

Common dimensions

Dimension nameDimension key
Service nameservice
Service PIDpid
Server IP addressserverIp

Metrics

Metric nameMetricMetric typeCollection intervalUnit
Idle CPU percentagearms_system_cpu_idleGauge15sPercentage
I/O wait CPU percentagearms_system_cpu_io_waitGauge15sPercentage
System CPU percentagearms_system_cpu_systemGauge15sPercentage
User CPU percentagearms_system_cpu_userGauge15sPercentage
System load (1 minute)arms_system_loadGauge15sNone
Idle disk sizearms_system_disk_free_bytesGauge15sByte
Total disk sizearms_system_disk_total_bytesGauge15sByte
Disk usagearms_system_disk_used_ratioGauge15sRatio (0 to 1)
Memory buffer sizearms_system_mem_buffers_bytesGauge15sByte
Memory cache sizearms_system_mem_cached_bytesGauge15sByte
Idle memory sizearms_system_mem_free_bytes Gauge15sByte
Idle memory swap sizearms_system_mem_swap_free_bytes Gauge15sByte
Memory swap sizearms_system_mem_swap_total_bytesGauge15sByte
Memory sizearms_system_mem_total_bytesGauge15sByte
Used memory sizearms_system_mem_used_bytes Gauge15sByte
Inbound network trafficarms_system_net_in_bytesGauge15sByte
Outbound network trafficarms_system_net_out_bytesGauge15sByte
Number of network ingress errorsarms_system_net_in_errGauge15sNone
Number of network egress errorsarms_system_net_out_errGauge15sNone

Thread pool metrics

Common dimensions

Dimension nameDimension key
Service nameservice
Service PIDpid
Server IP addressserverIp
Thread pool namename
Thread pool typetype

Metrics

Metric nameMetricMetric typeCollection intervalDimension
Number of core threads in a thread poolarms_threadpool_core_sizeGauge15sNone
Maximum number of threads in a thread poolarms_threadpool_max_sizeGauge15sNone
Number of active threads in a thread poolarms_threadpool_active_sizeGauge15sNone
Thread pool queue sizearms_threadpool_queue_sizeGauge15sNone
Current size of a thread poolarms_threadpool_current_sizeGauge15sNone
Number of tasks in different states in a thread poolarms_threadpool_task_totalGauge15sThe status of the task. Valid values:
  • Scheduled: The task is scheduled.
  • Completed: The task is completed.
  • Rejected: The task is rejected.

Scheduled task metrics

The following metrics are available only for scheduled tasks.

Common dimensions

Dimension nameDimension key
Service nameservice
Service PIDpid
Server IP addressserverIp
Task IDrpc

Metrics

Metric nameMetricMetric typeCollection intervalUnit
Scheduling delayarms_$callType_delay_millisecondsGauge15sMillisecond

Service access types and available dimensions

Clients

  • Access types
    • http_client
    • dubbo_client
    • hsf_client
    • dsf_client
    • notify_client
    • grpc_client
    • thrift_client
    • sofa_client
    • mq_client
    • kafka_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
    • excepName: the name 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
    • excepName: the name of an exception
    • stackTraceId: the ID of an exception stack
    • sqlId: the ID of an SQL statement

Servers

  • Access types
    • http
    • dubbo
    • hsf
    • dsf
    • user_method
    • mq
    • kafka
    • grpc
    • thrift
    • sofa
  • 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
    • excepName: the name of an exception
    • stackTraceId: the ID of an exception stack

Scheduled tasks

  • Access types
    • xxl_job
    • spring_scheduled
    • quartz
    • elasticjob
    • jdk_timer
    • schedulerx
  • Dimensions
    • prpc: an upstream interface
    • parent: the name of an upstream service
    • ppid: the PID of an upstream service
    • excepType: the ID of an exception
    • excepInfo: the ID encoding rule of an exception
    • excepName: the name of an exception
    • stackTraceId: the ID of an exception stack