All Products
Search
Document Center

Application Real-Time Monitoring Service:Application Monitoring metrics

Last Updated:Jul 17, 2024

This topic describes the metrics that are used in Application Real-Time Monitoring (ARMS) Application Monitoring. You can use these metrics to create custom Grafana dashboards.

Business metrics

Common dimensions

Dimension name

Dimension key

Service name

service

Service PID

pid

Server IP address

serverIp

Interface

rpc

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 the Service access types and available dimensions section.

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

Metric description

Metric

Measurement

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 failed requests

arms_$callType_requests_error_count

Gauge

15s

None

Total request duration

arms_$callType_requests_seconds

Gauge

15s

Seconds

Number of slow requests

arms_$callType_requests_slow_count

Gauge

15s

None

Quantile of total request duration

arms_$callType_requests_latency_seconds

Summary

15s

Seconds

This metric is used only when the service access type is HTTP and quantile statistics is enabled. For more information, see Advanced settings.

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 description

Metric

Measurement

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

Seconds

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

Seconds

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

Bytes

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

Bytes

Used size of JVM memory area

arms_jvm_mem_used_bytes

Gauge

15s

Bytes

Committed size of JVM memory area

arms_jvm_mem_committed_bytes

Gauge

15s

Bytes

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

Bytes

ID space:

  • Direct

  • Mapped

Used size of JVM cache pool

arms_jvm_buffer_pool_used_bytes

Gauge

15s

Bytes

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 description

Metric

Measurement

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

Bytes

Total disk size

arms_system_disk_total_bytes

Gauge

15s

Bytes

Disk usage

arms_system_disk_used_ratio

Gauge

15s

Ratio (0 to 1)

Memory buffer size

arms_system_mem_buffers_bytes

Gauge

15s

Bytes

Memory cache size

arms_system_mem_cached_bytes

Gauge

15s

Bytes

Idle memory size

arms_system_mem_free_bytes

Gauge

15s

Bytes

Idle memory swap size

arms_system_mem_swap_free_bytes

Gauge

15s

Bytes

Memory swap size

arms_system_mem_swap_total_bytes

Gauge

15s

Bytes

Memory size

arms_system_mem_total_bytes

Gauge

15s

Bytes

Used memory size

arms_system_mem_used_bytes

Gauge

15s

Bytes

Inbound network traffic

arms_system_net_in_bytes

Gauge

15s

Bytes

Outbound network traffic

arms_system_net_out_bytes

Gauge

15s

Bytes

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 and connection pool metrics

Common dimensions

Dimension name

Dimension key

Service name

service

Service PID

pid

Server IP address

serverIp

Thread pool name (ARMS agent earlier than V4.1.x)

name

Thread pool type (ARMS agent earlier than V4.1.x)

type

Metrics

ARMS agent V4.1.x and later

Thread pool metrics

Metric description

Metric

Measurement

Collection interval

Dimension

Number of core threads

arms_thread_pool_core_pool_size

Gauge

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Maximum number of idle connections

arms_thread_pool_max_pool_size

Gauge

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Number of active threads

arms_thread_pool_active_thread_count

Gauge

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Current number of threads

arms_thread_pool_current_thread_count

Gauge

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Maximum historical number of threads

arms_thread_pool_max_thread_count

Gauge

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Number of scheduled tasks

arms_thread_pool_scheduled_task_count

Counter

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Number of completed tasks

arms_thread_pool_completed_task_count

Counter

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Number of rejected tasks

arms_thread_pool_rejected_task_count

Counter

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Task queue size

arms_thread_pool_queue_size

Gauge

15s

  • thread_name_pattern: the thread name pattern. Example: http-nio-8080-*.

  • thread_pool_usage: the purpose of the thread pool. Examples: Tomcat, Dubbo, and Undertow.

Connection pool metrics

Metric description

Metric name

Measurement

Collection interval

Dimension

Number of connections

arms_connection_pool_connection_count

Gauge

15s

  • state: the status of the connection. Valid values:

    • active

    • idle

  • pool_type: the type of the connection pool. Examples: Druid and c3p0.

  • url: the connection string of the database.

Minimum number of idle connections

arms_connection_pool_connection_min_idle_count

Gauge

15s

  • pool_type: the type of the connection pool. Examples: Druid and c3p0.

  • url: the connection string of the database.

Maximum number of idle connections

arms_connection_pool_connection_max_idle_count

Gauge

15s

  • pool_type: the type of the connection pool. Examples: Druid and c3p0.

  • url: the connection string of the database.

Maximum number of connections

arms_connection_pool_connection_max_count

Gauge

15s

  • pool_type: the type of the connection pool. Examples: Druid and c3p0.

  • url: the connection string of the database.

Number of blocked connection requests

arms_connection_pool_pending_request_count

Counter

15s

  • pool_type: the type of the connection pool. Examples: Druid and c3p0.

  • url: the connection string of the database.

ARMS agent earlier than V4.1.x

Metric description

Metric

Measurement

Collection interval

Dimension

Number of core threads

arms_threadpool_core_size

Gauge

15s

None

Maximum number of threads

arms_threadpool_max_size

Gauge

15s

None

Number of active threads

arms_threadpool_active_size

Gauge

15s

None

Thread pool queue size

arms_threadpool_queue_size

Gauge

15s

None

Current size of the thread pool

arms_threadpool_current_size

Gauge

15s

None

Number of tasks in different states in the thread pool

arms_threadpool_task_total

Gauge

15s

The 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 name

Dimension key

Service name

service

Service PID

pid

Server IP address

serverIp

Task ID

rpc

Metrics

Metric description

Metric

Measurement

Collection interval

Unit

Scheduling delay

arms_$callType_delay_milliseconds

Gauge

15s

Milliseconds

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 the upstream service

    • ppid: the PID of the upstream service

    • destId: the extension information of the request peer

    • endpoint: the endpoint of the request peer

    • excepType: the ID of the exception

    • excepInfo: the ID encoding rule of the exception

    • excepName: the name of the exception

    • stackTraceId: the ID of the exception stack

Databases

  • Access types

    • mysql

    • oracle

    • mariadb

    • postgresql

    • ppas

    • sqlserver

    • mongodb

    • dmdb

  • Dimensions

    • parent: the name of the upstream service

    • ppid: the PID of the upstream service

    • destId: the name of the database

    • endpoint: the endpoint of the database

    • excepType: the ID of the exception

    • excepInfo: the ID encoding rule of the exception

    • excepName: the name of the exception

    • stackTraceId: the ID of the exception stack

    • sqlId: the ID of the SQL statement

Servers

  • Access types

    • http

    • dubbo

    • hsf

    • dsf

    • user_method

    • mq

    • kafka

    • grpc

    • thrift

    • sofa

  • Dimensions

    • prpc: the upstream interface

    • parent: the name of the upstream service

    • ppid: the PID of the upstream service

    • endpoint: the endpoint of the service

    • excepType: the ID of the exception

    • excepInfo: the ID encoding rule of the exception

    • excepName: the name of the exception

    • stackTraceId: the ID of the exception stack

Scheduled tasks

  • Access types

    • xxl_job

    • spring_scheduled

    • quartz

    • elasticjob

    • jdk_timer

    • schedulerx

  • Dimensions

    • prpc: the upstream interface

    • parent: the name of the upstream service

    • ppid: the PID of the upstream service

    • excepType: the ID of the exception

    • excepInfo: the ID encoding rule of the exception

    • excepName: the name of the exception

    • stackTraceId: the ID of the exception stack