Apusic文档中心
首页
  • 应用服务器 AAS
  • 负载均衡器 ALB
  • 分布式消息队列 ADMQ
  • 分布式缓存 AMDC
  • 分布式配置中心 ADCC
  • Java开发工具包软件 AJDK
  • 搜索引擎 ASE
  • 中间件云平台 ACP
  • 统一管理平台 AUMP
  • 云原生中间件管理 ACMP
  • DevOps平台 ADOP
  • 许可授权中心 ACLS
  • Copilot智能问答系统 ACS
  • 监控平台 AMP
  • 智能日志 AILP
  • 应用性能管理 AAPM
  • 智能告警 AAlarm
  • 金蝶Apusic AI 极光
  • 主数据管理 AMDM
  • 数据交换平台 ADXP
  • 企业服务总线 AESB
  • 数据智脑 ADPR
  • 服务治理 ASGP
  • 统一身份管理 AIDM
  • 标准模板
  • Markdown教程 (opens new window)
  • VuePress官方社区 (opens new window)
  • 帮助
贡献文档 (opens new window)
首页
  • 应用服务器 AAS
  • 负载均衡器 ALB
  • 分布式消息队列 ADMQ
  • 分布式缓存 AMDC
  • 分布式配置中心 ADCC
  • Java开发工具包软件 AJDK
  • 搜索引擎 ASE
  • 中间件云平台 ACP
  • 统一管理平台 AUMP
  • 云原生中间件管理 ACMP
  • DevOps平台 ADOP
  • 许可授权中心 ACLS
  • Copilot智能问答系统 ACS
  • 监控平台 AMP
  • 智能日志 AILP
  • 应用性能管理 AAPM
  • 智能告警 AAlarm
  • 金蝶Apusic AI 极光
  • 主数据管理 AMDM
  • 数据交换平台 ADXP
  • 企业服务总线 AESB
  • 数据智脑 ADPR
  • 服务治理 ASGP
  • 统一身份管理 AIDM
  • 标准模板
  • Markdown教程 (opens new window)
  • VuePress官方社区 (opens new window)
  • 帮助
贡献文档 (opens new window)
文档中心
  • 金蝶Apusic应用服务器

    • 产品白皮书
    • 产品更新说明
    • Product Whitepaper
    • 產品白皮書
    • V10.0.8SP12标准版

    • V10.0.8SP12标准版_繁體

    • V10.0.8SP12标准版_EN

      • Installation and Deployment
      • Quick Start
      • User Manual
      • Console User Manual
      • Command Line Operation Guide
      • Monitoring Metrics
      • API Documentation
      • Release Notes
    • V10.0.8SP11企业版

    • V10.0.8SP11标准版

    • V10.0.8SP10企业版

    • V10.0.8SP9企业版

    • V10.0.8SP9标准版

    • V10.0.8SP8企业版

    • V10.0.8SP8标准版

    • V10.0.8SP9智能安全版

    • V9.0.0SP9企业版

    • V9.0.0SP8企业版

    • V10.0.8SP8国际版

    • V10.0.10标准版

    • V10.0.10SP1企业版

    • V10.0.11标准版

    • 迁移工具V1.0

    • 金蝶Apusic应用迁移工具

  • 金蝶Apusic负载均衡器

  • 金蝶Apusic分布式消息队列

  • 金蝶Apusic分布式缓存

  • 金蝶Apusic分布式配置中心

  • 金蝶Apusic Java开发工具包软件

  • 金蝶Apusic全文检索

Monitoring Metrics

# Prometheus Monitoring

After Prometheus monitoring is enabled, access /aas-console/metrics to view the Prometheus monitoring metrics. Minor differences may exist across different JDK versions.

Item Value
Total metrics 110
Type All of Gauge type
Data format Prometheus Text Format
Example data source 127.0.0.1

# JVM Buffer Pools

Contains 3 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_buffer_pool_used_bytesBytes used by JVM buffer poolhost="127.0.0.1", jvm_buffer_pool="direct"1001345.0Bytes
jvm_buffer_pool_capacity_bytesTotal capacity of JVM buffer pool (bytes)host="127.0.0.1", jvm_buffer_pool="direct"1001345.0Bytes
jvm_buffer_pool_used_buffersNumber of buffers used in JVM buffer poolhost="127.0.0.1", jvm_buffer_pool="direct"29.0—

# JVM Class Loading

Contains 3 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_classes_total_loadedTotal number of classes loaded since JVM startuphost="127.0.0.1"15204.0count
jvm_classes_loadedNumber of classes currently loaded in JVMhost="127.0.0.1"15204.0count
jvm_classes_unloadedTotal number of classes unloaded in JVMhost="127.0.0.1"0.0count

# JVM Threads

Contains 4 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_threads_currentCurrent number of active threads in JVMhost="127.0.0.1"80.0—
jvm_threads_daemonCurrent number of daemon threads in JVMhost="127.0.0.1"73.0—
jvm_threads_peakHistorical peak number of threads in JVMhost="127.0.0.1"80.0—
jvm_threads_total_startedTotal number of threads started in JVMhost="127.0.0.1"83.0—

# JVM GC

Contains 4 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_gc_collection_numberTotal number of JVM garbage collectionsgc_type="PS Scavenge", host="127.0.0.1"10.0—
jvm_gc_collection_time_secondsCumulative time spent in JVM garbage collection (seconds)gc_type="PS Scavenge", host="127.0.0.1"0.334seconds
full_gc_mountNumber of Full GCs in the last minutetime="60s", host="127.0.0.1"0.0—
longest_full_gcLongest Full GC duration in the last minute (seconds)time="60s", host="127.0.0.1"0.0—

# JVM Memory

Contains 5 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_memory_bytes_usedBytes used in JVM memory areaarea="heap", host="127.0.0.1"7.27379392E8Bytes
jvm_memory_bytes_committedBytes committed in JVM memory areaarea="heap", host="127.0.0.1"2.197815296E9Bytes
jvm_memory_bytes_maxMaximum available bytes in JVM memory areaarea="heap", host="127.0.0.1"3.817865216E9Bytes
jvm_memory_bytes_initInitial bytes of JVM memory areaarea="heap", host="127.0.0.1"1.073741824E9Bytes
jvm_memory_bytes_usageJVM memory usage ratio (used/max)area="heap", host="127.0.0.1"0.19051992431573572%

# JVM Memory Pools

Contains 4 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_memory_pool_bytes_usedBytes used in JVM memory pooljvm_memory_pool="Metaspace", host="127.0.0.1"8.8256296E7Bytes
jvm_memory_pool_bytes_committedBytes committed in JVM memory pooljvm_memory_pool="Metaspace", host="127.0.0.1"9.2798976E7Bytes
jvm_memory_pool_bytes_maxMaximum available bytes in JVM memory pooljvm_memory_pool="Metaspace", host="127.0.0.1"-1.0Bytes
jvm_memory_pool_bytes_initInitial bytes of JVM memory pooljvm_memory_pool="Metaspace", host="127.0.0.1"0.0Bytes

# JVM Compiler

Contains 4 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_compiler_nameJVM compiler namename="HotSpot 64-Bit Tiered Compilers"0.0—
jvm_compile_timeMaximum increment of JIT compilation timehost="127.0.0.1"0.0seconds
jvm_total_cpu_timeCumulative CPU time used by JVMhost="127.0.0.1"114625.0—
jvm_compile_cpu_usageMaximum JIT compilation CPU usage (%)host="127.0.0.1"0.0%

# JVM Runtime Information

Contains 1 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jvm_infoJVM runtime informationversion="1.8", vendor="Oracle Corporation", class_path="C:\\apusic\\AAS\\bin\\bootstrap.jar;C:\\apusic\\AAS\\bin\\aas-juli.jar", library_path="D:\\tools\\jdk8u312-b07\\bin;C:\\WINDOWS\\Sun\\Java\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;D:\\tools\\jdk8u312-b07\\bin;D:\\tools\\jdk8u312-b07\\bin;D:\\tools\\Git\\bin;D:\\tools\\jdk-21.0.3+9\\bin;D:\\java_software\\apache-ant-1.10.5\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;D:\\java_software\\maven\\apache-maven-3.6.0\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\MySQL\\MySQL Server 5.5\\bin;C:\\Program Files (x86)\\Microsoft SQL Server\\80\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\binn\\;D:\\tools\\putty\\;D:\\tools\\Git\\cmd;C:\\WINDOWS\\System32\\OpenSSH\\;D:\\tools\\nodejs\\;D:\\tools\\python\\Scripts\\;D:\\tools\\python\\;C:\\Users\\test\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Program Files (x86)\\Nmap;C:\\Users\\test\\AppData\\Local\\Pandoc\\;C:\\Users\\test\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\test\\AppData\\Roaming\\npm;."1.0—

# Process and System Resources

Contains 11 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
system_cpu_loadSystem CPU usage (%)host="127.0.0.1"11.01702326967513%
process_cpu_loadProcess CPU usage (%)host="127.0.0.1"0.8264974947206318%
committed_virtual_memory_size_bytesCommitted virtual memory in byteshost="127.0.0.1"2.677968896E9Bytes
physical_memory_total_size_bytesTotal physical memory in byteshost="127.0.0.1"3.4359201792E10Bytes
free_physical_memory_size_bytesFree physical memory in byteshost="127.0.0.1"1.3653409792E10Bytes
swap_space_total_size_bytesTotal swap space in byteshost="127.0.0.1"4.2949136384E10Bytes
free_swap_space_size_bytesFree swap space in byteshost="127.0.0.1"1.2342001664E10Bytes
system_cpu_core_numNumber of CPU coreshost="127.0.0.1"16.0—
system_open_file_descriptor_countNumber of open file descriptorshost="127.0.0.1"0.0count
system_start_runtime_secondsSystem start time (millisecond timestamp)host="127.0.0.1"1.787215459261E12seconds
process_start_time_secondsProcess start time (seconds since Unix epoch)—seconds

# HTTP Thread Pool

Contains 19 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
thread_pool_max_queue_sizeMaximum queue capacity; -1 means unlimitedhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"5000.0—
thread_pool_queue_sizeUsed queue capacityhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"0.0—
thread_pool_idle_thread_timeout_secondsMaximum time (milliseconds) a thread can remain idle in the pool before being removedhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"60000.0milliseconds
thread_pool_min_thread_pool_sizeMinimum number of threads in the thread poolhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"25.0—
thread_pool_max_thread_pool_sizeMaximum number of threads in the thread poolhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"100.0—
thread_pool_active_countCurrent number of active threadshost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"1.0count
thread_pool_blocked_countCurrent number of blocked threadshost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"0.0count
thread_pool_pool_sizeCurrent total number of threads in the thread poolhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"25.0—
thread_pool_pool_usageThread pool usage (active threads/max threads)host="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"0.01%
thread_pool_step_reclaimWhether stepped thread reclamation is enabled (0: disabled, 1: enabled)host="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"0.0—
thread_pool_step_timeTime interval of stepped thread reclamationhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"10000.0—
thread_pool_step_sizeNumber of threads reclaimed per step in stepped thread reclamationhost="127.0.0.1", service_name="admin-service", thread_pool_name="admin-thread-pool"20.0—
thread_pool_connection_countNumber of HTTP connectionshost="127.0.0.1", service_name="admin-service", http_connection_pool="\"https-jsse-nio-6848\"2.0count
thread_pool_connection_max_connectionsMaximum number of HTTP connectionshost="127.0.0.1", service_name="admin-service", http_connection_pool="\"https-jsse-nio-6848\"10000.0—
thread_pool_connection_usageHTTP connection usagehost="127.0.0.1", service_name="admin-service", http_connection_pool="\"https-jsse-nio-6848\"2.0E-4%
thread_pool_connection_keepalive_countNumber of keep-alive HTTP connectionshost="127.0.0.1", service_name="admin-service", http_connection_pool="\"https-jsse-nio-6848\"1.0count
thread_pool_connection_max_keepalive_requestsMaximum number of keep-alive HTTP requestshost="127.0.0.1", service_name="admin-service", http_connection_pool="\"https-jsse-nio-6848\"100.0—
thread_pool_connection_current_thread_countCurrent number of threadshost="127.0.0.1", service_name="admin-service", http_connection_pool="\"https-jsse-nio-6848\"25.0count
thread_pool_connection_current_thread_busyCurrent number of threads processing requestshost="127.0.0.1", service_name="admin-service", http_connection_pool="\"https-jsse-nio-6848\"1.0—

# JDBC Connection Pool

Contains 16 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
jdbc_resource_connection_leak_timeout_in_secondsConnection leak timeout; -1 means no connection leak detectionjdbc_pool="test", host="127.0.0.1"60000.0seconds
jdbc_resource_idle_timeout_in_secondsIdle timeout; the maximum time a connection can remain idle in the pool. -1 means idle connections are not validatedjdbc_pool="test", host="127.0.0.1"60000.0seconds
jdbc_resource_max_pool_sizeMaximum pool sizejdbc_pool="test", host="127.0.0.1"20.0—
jdbc_resource_max_idle_sizeMaximum number of idle connections in the pooljdbc_pool="test", host="127.0.0.1"10.0—
jdbc_resource_max_wait_time_in_millisMaximum wait time, in millisecondsjdbc_pool="test", host="127.0.0.1"15000.0—
jdbc_resource_steady_pool_sizeInitial and minimum pool sizejdbc_pool="test", host="127.0.0.1"10.0—
jdbc_resource_min_idle_sizeMinimum number of idle connections in the pooljdbc_pool="test", host="127.0.0.1"4.0—
jdbc_resource_validate_atmost_once_period_in_secondsConnection validation interval; specifies the time interval (seconds) between consecutive connection validations (at most once). Default value is -1, meaning this property is not enabledjdbc_pool="test", host="127.0.0.1"3.0seconds
jdbc_resource_num_conn_freeNumber of available connectionsjdbc_pool="test", host="127.0.0.1"20.0—
jdbc_resource_num_conn_activeNumber of active connectionsjdbc_pool="test", host="127.0.0.1"0.0—
jdbc_resource_num_conn_free_usageConnection availability ratiojdbc_pool="test", host="127.0.0.1"1.0%
jdbc_resource_num_conn_usageConnection usage ratiojdbc_pool="test", host="127.0.0.1"0.0%
jdbc_resource_num_conn_totalCurrent number of connectionsjdbc_pool="test", host="127.0.0.1"4.0—
jdbc_resource_num_conn_detectNumber of detection connectionsjdbc_pool="test", host="127.0.0.1"0.0—
jdbc_resource_num_conn_waitNumber of waiting connectionsjdbc_pool="test", host="127.0.0.1"0.0—
jdbc_resource_num_conn_suspend_leakNumber of suspected leaksjdbc_pool="test", host="127.0.0.1"0.0—

# Web Service - Servlet

Contains 8 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
web_service_servlet_availableDate and time when the Servlet is available (milliseconds); 0 means available, Long.MAX_VALUE means permanently unavailablehost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_servlet_class_load_timeTime spent loading the class (ms)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"3.0ms
web_service_servlet_error_countError count (cumulative number of response codes ≥400)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0count
web_service_servlet_load_timeTime spent loading and initializing the Servlet (ms)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"4.0ms
web_service_servlet_max_timeLongest request response time (ms)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_servlet_min_timeShortest request response time (ms)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_servlet_processing_timeCumulative Servlet processing time (ms)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_servlet_request_timeCumulative number of requests processed so farhost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—

# Web Service - Requests

Contains 14 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
slow_requests_in_the_last_ten_minutesNumber of slow requests in the last ten minutesprocessor="http-nio-6888"0.0—
long_request_countSlow request (long thread) statisticsprocessor="http-nio-6888"0.0count
request_countRequest count statisticsprocessor="http-nio-6888"0.0count
error_countRequest error statisticsprocessor="http-nio-6888"0.0count
max_timeLongest request processing time statisticsprocessor="http-nio-6888"0.0—
slow_query_countSlow SQL request statistics—count
web_service_request_countCumulative number of requests processed so farhost="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0count
web_service_request_error_countCumulative error count (response codes ≥400)host="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0count
web_service_processing_timeCumulative request processing time (milliseconds)host="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0—
web_service_request_max_timeLongest request response time (milliseconds)host="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0—
web_service_request_long_request_countCurrent number of slow requestshost="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0count
web_service_request_long_request_total_countTotal number of slow requests historically occurredhost="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0count
web_service_request_byte_sendNumber of bytes sent in requestshost="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0—
web_service_request_byte_receivedNumber of bytes received in requestshost="127.0.0.1", service_name="ams-service", endpoint_name="http-nio-6888"0.0—

# Web Service - Session

Contains 9 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
web_service_session_activeCurrent number of active Sessionshost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_expired_totalTotal number of expired Sessionshost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_rejected_totalTotal number of Sessions rejected from creationhost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_passivated_sessionsTotal number of passivated Sessionshost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_create_rateSession creation rate (sessions/second)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_expire_rateSession expiration rate (sessions/second)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_max_activeHistorical maximum number of active Sessionshost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_processing_timeSession processing time (milliseconds)host="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0—
web_service_session_session_counterCumulative number of Sessions so farhost="127.0.0.1", service_name="admin-service", virtual_host_name="admin", context_path="aas-console"0.0count

# Web Service - JSP

Contains 4 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
web_service_jsp_countTotal number of loaded JSP pageshost="127.0.0.1", virtual_host_name="admin", context_path="aas-console"0.0count
web_service_jsp_queue_lengthJSP compilation queue lengthhost="127.0.0.1", virtual_host_name="admin", context_path="aas-console"-1.0—
web_service_jsp_reload_countTotal number of reloaded JSP pageshost="127.0.0.1", virtual_host_name="admin", context_path="aas-console"0.0count
web_service_jsp_unload_countTotal number of unloaded JSP pageshost="127.0.0.1", virtual_host_name="admin", context_path="aas-console"0.0count

# Slow SQL Count

Contains 1 metric, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
slow_query_countSlow SQL request statisticshost="127.0.0.1", jdbc_pool_name="test"0.0—

# Exporter Status

Contains 2 metrics, all of Gauge type.

MetricDescriptionLabels (with example values)Example ValueUnit
exporter_running_statusExporter running status (1: running, 0: stopped)host="127.0.0.1"1.0—
jmx_connection_statusJMX connection status (1: connected, 0: connection refused)host="127.0.0.1"1.0—

# RESTful Monitoring

The RESTful monitoring interface retrieves monitoring data via https://127.0.0.1:6848/ + the access URLs listed below, and returns a unified JSON structure: timestamp (collection timestamp), category (category), collectors (collectors), rows (data rows, each row contains a set of metrics and labels).

# JVM GC

  • URL: aas-console/metrics/data/gc

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "gc",
  "collectors": [
    "gc"
  ],
  "rows": [
    {
      "gc_type": "PS MarkSweep",
      "host": "127.0.0.1",
      "jvm_gc_collection_number": 4.0,
      "jvm_gc_collection_time_seconds": 0.483
    },
    {
      "gc_type": "PS Scavenge",
      "host": "127.0.0.1",
      "jvm_gc_collection_number": 21.0,
      "jvm_gc_collection_time_seconds": 0.988
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Metric description:

Metric Description Example Value Unit
gc_type GC type PS MarkSweep —
host Current host IP 127.0.0.1 —
time Occurrence time 60s —
full_gc_mount Number of Full GCs in the last minute 0.0 —
jvm_gc_collection_number Total number of JVM garbage collections 4.0 —
jvm_gc_collection_time_seconds Cumulative JVM garbage collection time (seconds) 0.483 seconds
longest_full_gc Longest Full GC time in the last minute (seconds) 0.0 seconds

# JVM Buffer Pools

  • URL: aas-console/metrics/data/memory/buffer-pool

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "memory",
  "collectors": [
    "buffer-pool"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "jvm_buffer_pool": "direct",
      "jvm_buffer_pool_capacity_bytes": 1001345.0,
      "jvm_buffer_pool_used_buffers": 29.0,
      "jvm_buffer_pool_used_bytes": 1001345.0
    },
    {
      "host": "127.0.0.1",
      "jvm_buffer_pool": "mapped",
      "jvm_buffer_pool_capacity_bytes": 0.0,
      "jvm_buffer_pool_used_buffers": 0.0,
      "jvm_buffer_pool_used_bytes": 0.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Metric description:

Metric Description Example Value Unit
host Current host IP 127.0.0.1 —
jvm_buffer_pool Memory pool name direct —
jvm_buffer_pool_capacity_bytes Total capacity of the JVM buffer pool (bytes) 1001345.0 Bytes
jvm_buffer_pool_used_buffers Number of used buffers in the JVM buffer pool 29.0 —
jvm_buffer_pool_used_bytes Number of used bytes in the JVM buffer pool 1001345.0 Bytes

# JVM Class Loading

  • URL: aas-console/metrics/data/jvm/classloading

Sample response (first 1 row):

{
  "timestamp": 1787556235,
  "category": "jvm",
  "collectors": [
    "classloading"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "jvm_classes_loaded": 15204.0,
      "jvm_classes_total_loaded": 15204.0,
      "jvm_classes_unloaded": 0.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Metric description:

Metric Description Example Value Unit
host Current host IP 127.0.0.1 —
jvm_classes_loaded Number of classes currently loaded by the JVM 15204.0 —
jvm_classes_total_loaded Total number of classes loaded since JVM startup 15204.0 —
jvm_classes_unloaded Number of classes unloaded by the JVM 0.0 —

# JVM Threads

  • URL: aas-console/metrics/data/thread/threads

Sample response (first 1 row):

{
  "timestamp": 1787556235,
  "category": "thread",
  "collectors": [
    "threads"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "jvm_threads_current": 80.0,
      "jvm_threads_daemon": 73.0,
      "jvm_threads_peak": 80.0,
      "jvm_threads_total_started": 83.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Metric description:

Metric Description Example Value Unit
host Current host IP 127.0.0.1 —
jvm_threads_current Number of currently active JVM threads 80.0 —
jvm_threads_daemon Number of current JVM daemon threads 73.0 —
jvm_threads_peak Historical peak number of JVM threads 80.0 —
jvm_threads_total_started Total number of JVM threads started 83.0 —

# JVM Memory

  • URL: aas-console/metrics/data/memory/memory

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "memory",
  "collectors": [
    "memory"
  ],
  "rows": [
    {
      "area": "heap",
      "host": "127.0.0.1",
      "jvm_memory_bytes_committed": 2197815296.0,
      "jvm_memory_bytes_init": 1073741824.0,
      "jvm_memory_bytes_max": 3817865216.0,
      "jvm_memory_bytes_usage": 0.19051992431573572,
      "jvm_memory_bytes_used": 727379392.0
    },
    {
      "area": "nonheap",
      "host": "127.0.0.1",
      "jvm_memory_bytes_committed": 146604032.0,
      "jvm_memory_bytes_init": 2555904.0,
      "jvm_memory_bytes_max": -1.0,
      "jvm_memory_bytes_usage": 0.0,
      "jvm_memory_bytes_used": 140169920.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Metric description:

Metric Description Example Value Unit
area Memory area heap —
host Current host IP 127.0.0.1 —
jvm_memory_bytes_committed Committed bytes of the JVM memory area 2197815296.0 Bytes
jvm_memory_bytes_init Initial bytes of the JVM memory area 1073741824.0 Bytes
jvm_memory_bytes_max Maximum available bytes of the JVM memory area 3817865216.0 Bytes
jvm_memory_bytes_usage JVM memory usage (used/max) 0.19051992431573572 —
jvm_memory_bytes_used Used bytes of the JVM memory area 727379392.0 Bytes

# JVM Memory Pools

  • URL: aas-console/metrics/data/memory/memory-pool

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "memory",
  "collectors": [
    "memory-pool"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "jvm_memory_pool": "Metaspace",
      "jvm_memory_pool_bytes_committed": 92798976.0,
      "jvm_memory_pool_bytes_init": 0.0,
      "jvm_memory_pool_bytes_max": -1.0,
      "jvm_memory_pool_bytes_used": 88256296.0
    },
    {
      "host": "127.0.0.1",
      "jvm_memory_pool": "PS Old Gen",
      "jvm_memory_pool_bytes_committed": 835190784.0,
      "jvm_memory_pool_bytes_init": 716177408.0,
      "jvm_memory_pool_bytes_max": 2863661056.0,
      "jvm_memory_pool_bytes_used": 37628688.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Metric description:

Metric Description Example Value Unit
host Current host IP 127.0.0.1 —
jvm_memory_pool Memory pool name Metaspace —
jvm_memory_pool_bytes_committed Committed bytes of the JVM memory pool 92798976.0 Bytes
jvm_memory_pool_bytes_init Initial bytes of the JVM memory pool 0.0 Bytes
jvm_memory_pool_bytes_max Maximum available bytes of the JVM memory pool -1.0 Bytes
jvm_memory_pool_bytes_used Used bytes of the JVM memory pool 88256296.0 Bytes

# JVM Runtime Information

  • URL: aas-console/metrics/data/jvm/run-time

Sample response (first 1 row):

{
  "timestamp": 1787556235,
  "category": "jvm",
  "collectors": [
    "run-time"
  ],
  "rows": [
    {
      "class_path": "C:\\apusic\\AAS\\bin\\bootstrap.jar;C:\\apusic\\AAS\\bin\\aas-juli.jar",
      "jvm_info": 1.0,
      "library_path": "D:\\tools\\jdk8u312-b07\\bin;C:\\WINDOWS\\Sun\\Java\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;D:\\tools\\jdk8u312-b07\\bin;D:\\tools\\jdk8u312-b07\\bin;D:\\tools\\Git\\bin;D:\\tools\\jdk-21.0.3+9\\bin;D:\\java_software\\apache-ant-1.10.5\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;D:\\java_software\\maven\\apache-maven-3.6.0\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\MySQL\\MySQL Server 5.5\\bin;C:\\Program Files (x86)\\Microsoft SQL Server\\80\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\binn\\;D:\\tools\\putty\\;D:\\tools\\Git\\cmd;C:\\WINDOWS\\System32\\OpenSSH\\;D:\\tools\\nodejs\\;D:\\tools\\python\\Scripts\\;D:\\tools\\python\\;C:\\Users\\test\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Program Files (x86)\\Nmap;C:\\Users\\test\\AppData\\Local\\Pandoc\\;C:\\Users\\test\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\test\\AppData\\Roaming\\npm;.",
      "vendor": "Oracle Corporation",
      "version": "1.8"
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Metric description:

Metric Description Example Value Unit
class_path Class path C:\\apusic\\AAS\\bin\\bootstrap.jar;C:\\apusic\\AAS\\bin\\aas-juli.jar —
jvm_info JVM runtime information 1.0 —
library_path JVM native library path D:\\tools\\jdk8u312-b07\\bin;... —
vendor JVM vendor Oracle Corporation —
version JVM version 1.8 —

# Process and System Resources

  • URL: aas-console/metrics/data/os

Sample response (first 1 row):

{
  "timestamp": 1787556235,
  "category": "os",
  "collectors": [
    "operating-system"
  ],
  "rows": [
    {
      "committed_virtual_memory_size_bytes": 2677968896.0,
      "free_physical_memory_size_bytes": 13653409792.0,
      "free_swap_space_size_bytes": 12342001664.0,
      "host": "127.0.0.1",
      "physical_memory_total_size_bytes": 34359201792.0,
      "process_cpu_load": 0.8264974947206318,
      "process_start_time_seconds": 1787215459.261,
      "swap_space_total_size_bytes": 42949136384.0,
      "system_cpu_core_num": 16.0,
      "system_cpu_load": 11.01702326967513,
      "system_open_file_descriptor_count": 0.0,
      "system_start_runtime_seconds": 1787215459261.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Metric description:

Metric Description Example Value Unit
committed_virtual_memory_size_bytes Committed virtual memory bytes 2677968896.0 Bytes
free_physical_memory_size_bytes Free physical memory bytes 13653409792.0 Bytes
free_swap_space_size_bytes Free swap space bytes 12342001664.0 Bytes
host Current host IP 127.0.0.1 —
physical_memory_total_size_bytes Total physical memory bytes 34359201792.0 Bytes
process_cpu_load Process CPU usage (%) 0.8264974947206318 %
process_start_time_seconds Process start time (seconds since the Unix epoch) 1787215459.261 seconds
swap_space_total_size_bytes Total swap space bytes 42949136384.0 Bytes
system_cpu_core_num Number of CPU cores 16.0 —
system_cpu_load System CPU usage (%) 11.01702326967513 %
system_open_file_descriptor_count Number of open file descriptors 0.0 —
system_start_runtime_seconds System start time (millisecond timestamp) 1787215459261.0 seconds

# HTTP Thread Pool

  • URL: aas-console/metrics/data/thread/thread-pool

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "thread",
  "collectors": [
    "thread-pool"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "service_name": "admin-service",
      "thread_pool_active_count": 1.0,
      "thread_pool_blocked_count": 0.0,
      "thread_pool_idle_thread_timeout_seconds": 60000.0,
      "thread_pool_max_queue_size": 5000.0,
      "thread_pool_max_thread_pool_size": 100.0,
      "thread_pool_min_thread_pool_size": 25.0,
      "thread_pool_name": "admin-thread-pool",
      "thread_pool_pool_size": 25.0,
      "thread_pool_pool_usage": 0.01,
      "thread_pool_queue_size": 0.0,
      "thread_pool_step_reclaim": 0.0,
      "thread_pool_step_size": 20.0,
      "thread_pool_step_time": 10000.0
    },
    {
      "host": "127.0.0.1",
      "service_name": "ams-service",
      "thread_pool_active_count": 0.0,
      "thread_pool_blocked_count": 0.0,
      "thread_pool_idle_thread_timeout_seconds": 60000.0,
      "thread_pool_max_queue_size": 5000.0,
      "thread_pool_max_thread_pool_size": 200.0,
      "thread_pool_min_thread_pool_size": 25.0,
      "thread_pool_name": "http-thread-pool",
      "thread_pool_pool_size": 25.0,
      "thread_pool_pool_usage": 0.0,
      "thread_pool_queue_size": 0.0,
      "thread_pool_step_reclaim": 0.0,
      "thread_pool_step_size": 20.0,
      "thread_pool_step_time": 10000.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

Metric description:

Metric Description Example Value Unit
host Current host IP 127.0.0.1 —
service_name Service name admin-service —
thread_pool_name Thread pool name admin-thread-pool —
thread_pool_active_count Number of currently active threads 1.0 —
thread_pool_blocked_count Number of currently blocked threads 0.0 —
thread_pool_idle_thread_timeout_seconds Maximum time (milliseconds) a thread can remain idle in the pool before being removed 60000.0 milliseconds
thread_pool_max_queue_size Maximum queue capacity; -1 means unlimited 5000.0 —
thread_pool_max_thread_pool_size Maximum number of threads in the thread pool 100.0 —
thread_pool_min_thread_pool_size Minimum number of threads in the thread pool 25.0 —
thread_pool_pool_size Current total number of threads in the thread pool 25.0 —
thread_pool_pool_usage Thread pool usage (active threads/max threads) 0.01 %
thread_pool_queue_size Used queue capacity 0.0 —
thread_pool_step_reclaim Whether stepped thread reclaim is enabled (0: disabled, 1: enabled) 0.0 —
thread_pool_step_size Number of threads reclaimed per step in stepped thread reclaim 20.0 —
thread_pool_step_time Time interval for stepped thread reclaim 10000.0 —

# JDBC Connection Pool

  • URL: aas-console/metrics/data/jdbc

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "jdbc",
  "collectors": [
    "jdbc-pool"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "jdbc_pool": "test",
      "jdbc_resource_connection_leak_timeout_in_seconds": 60000.0,
      "jdbc_resource_idle_timeout_in_seconds": 60000.0,
      "jdbc_resource_max_idle_size": 10.0,
      "jdbc_resource_max_pool_size": 20.0,
      "jdbc_resource_max_wait_time_in_millis": 15000.0,
      "jdbc_resource_min_idle_size": 4.0,
      "jdbc_resource_num_conn_active": 0.0,
      "jdbc_resource_num_conn_detect": 0.0,
      "jdbc_resource_num_conn_free": 20.0,
      "jdbc_resource_num_conn_free_usage": 1.0,
      "jdbc_resource_num_conn_total": 4.0,
      "jdbc_resource_num_conn_usage": 0.0,
      "jdbc_resource_steady_pool_size": 10.0,
      "jdbc_resource_validate_atmost_once_period_in_seconds": 3.0,
      "jdbc_resource_num_conn_wait": 0.0,
      "jdbc_resource_num_conn_suspend_leak": 0.0
    },
    {
      "host": "127.0.0.1",
      "jdbc_pool": "test2",
      "jdbc_resource_connection_leak_timeout_in_seconds": 60000.0,
      "jdbc_resource_idle_timeout_in_seconds": 60000.0,
      "jdbc_resource_max_idle_size": 10.0,
      "jdbc_resource_max_pool_size": 20.0,
      "jdbc_resource_max_wait_time_in_millis": 15000.0,
      "jdbc_resource_min_idle_size": 4.0,
      "jdbc_resource_num_conn_active": 0.0,
      "jdbc_resource_num_conn_detect": 0.0,
      "jdbc_resource_num_conn_free": 20.0,
      "jdbc_resource_num_conn_free_usage": 1.0,
      "jdbc_resource_num_conn_total": 4.0,
      "jdbc_resource_num_conn_usage": 0.0,
      "jdbc_resource_steady_pool_size": 10.0,
      "jdbc_resource_validate_atmost_once_period_in_seconds": 3.0,
      "jdbc_resource_num_conn_wait": 0.0,
      "jdbc_resource_num_conn_suspend_leak": 0.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

Metric description:

Metric Description Example Value Unit
host Current host IP 127.0.0.1 —
jdbc_pool Connection pool name test —
jdbc_resource_connection_leak_timeout_in_seconds Connection leak timeout; -1 means no connection leak detection 60000.0 seconds
jdbc_resource_idle_timeout_in_seconds Idle timeout; the maximum time a connection can remain idle in the pool. -1 means idle connections are not validated 60000.0 seconds
jdbc_resource_max_idle_size Maximum number of idle connections in the pool 10.0 —
jdbc_resource_max_pool_size Maximum pool size 20.0 —
jdbc_resource_max_wait_time_in_millis Maximum wait time, in milliseconds 15000.0 —
jdbc_resource_min_idle_size Minimum number of idle connections in the pool 4.0 —
jdbc_resource_num_conn_active Number of active connections 0.0 —
jdbc_resource_num_conn_detect Number of connection validation probes 0.0 —
jdbc_resource_num_conn_free Number of available connections 20.0 —
jdbc_resource_num_conn_free_usage Connection availability rate 1.0 %
jdbc_resource_num_conn_total Current number of connections 4.0 —
jdbc_resource_num_conn_usage Connection usage rate 0.0 %
jdbc_resource_steady_pool_size Initial and minimum pool size 10.0 —
jdbc_resource_validate_atmost_once_period_in_seconds Connection validation interval; specifies the time interval (seconds) between consecutive requests to validate a connection (at most once). Default value is -1, meaning this property is not enabled 3.0 seconds
jdbc_resource_num_conn_wait Number of waiting connections 0.0 —
jdbc_resource_num_conn_suspend_leak Number of suspected leaks 0.0 —

# Web Service

  • URL: aas-console/metrics/data/web/web-service

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "web",
  "collectors": [
    "web-service"
  ],
  "rows": [
    {
      "context_path": "aas-console",
      "host": "127.0.0.1",
      "service_name": "admin-service",
      "servlet_name": "dispatcherServlet",
      "virtual_host_name": "admin",
      "web_service_servlet_available": 0.0,
      "web_service_servlet_class_load_time": 0.0,
      "web_service_servlet_error_count": 0.0,
      "web_service_servlet_load_time": 0.0,
      "web_service_servlet_max_time": 351.0,
      "web_service_servlet_min_time": 5.0,
      "web_service_servlet_processing_time": 1021.0,
      "web_service_servlet_request_time": 14.0
    },
    {
      "endpoint_name": "https-jsse-nio-6848",
      "host": "127.0.0.1",
      "service_name": "admin-service",
      "web_service_request_byte_received": 0.0,
      "web_service_request_byte_send": 4152779.0,
      "web_service_request_count": 13.0,
      "web_service_request_error_count": 1.0,
      "web_service_request_long_request_count": 0.0,
      "web_service_request_long_request_total_count": 0.0,
      "web_service_request_max_time": 407.0,
      "web_service_processing_time": 1093.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

Metric description:

Metric Description Example Value Unit
context_path Application context aas-console —
endpoint_name HTTP connection name https-jsse-nio-6848 —
host Current host IP 127.0.0.1 —
service_name Service name admin-service —
servlet_name Servlet name dispatcherServlet —
virtual_host_name Virtual host name admin —
web_service_processing_time Cumulative request processing time (milliseconds) 1093.0 —
web_service_request_byte_received Number of bytes received in requests 0.0 Bytes
web_service_request_byte_send Number of bytes sent in responses 4152779.0 Bytes
web_service_request_count Cumulative number of requests processed so far 13.0 —
web_service_request_error_count Cumulative error count (response code ≥400) 1.0 —
web_service_request_long_request_count Current number of slow requests 0.0 —
web_service_request_long_request_total_count Total number of slow requests in history 0.0 —
web_service_request_max_time Longest request response time (milliseconds) 407.0 —
web_service_servlet_available Date and time the Servlet became available (milliseconds); 0 means available, Long.MAX_VALUE means permanently unavailable 0.0 —
web_service_servlet_class_load_time Time spent loading the class (ms) 0.0 ms
web_service_servlet_error_count Error count (cumulative number of responses with response code ≥400) 0.0 —
web_service_servlet_load_time Time spent loading and initializing the Servlet (ms) 0.0 ms
web_service_servlet_max_time Longest request response time (ms) 351.0 ms
web_service_servlet_min_time Shortest request response time (ms) 5.0 ms
web_service_servlet_processing_time Cumulative Servlet processing time (ms) 1021.0 ms
web_service_servlet_request_time Cumulative number of requests processed so far 14.0 —
web_service_session_active Current number of active Sessions 0.0 —
web_service_session_create_rate Session creation rate (per second) 0.0 /s
web_service_session_expire_rate Session expiration rate (per second) 0.0 /s
web_service_session_expired_total Total number of expired Sessions 0.0 —
web_service_session_max_active Historical maximum number of active Sessions 0.0 —
web_service_session_passivated_sessions Total number of passivated Sessions 0.0 —
web_service_session_processing_time Session processing time (milliseconds) 0.0 ms
web_service_session_rejected_total Total number of Sessions rejected for creation 0.0 —
web_service_session_session_counter Cumulative number of Sessions so far 0.0 —
web_service_jsp_count Total number of loaded JSP pages 0.0 —
web_service_jsp_queue_length JSP compilation queue length -1.0 —
web_service_jsp_reload_count Total number of reloaded JSP pages 0.0 —
web_service_jsp_unload_count Total number of unloaded JSP pages 0.0 —

# HTTP Connections

  • URL: aas-console/metrics/data/http/connect

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "http",
  "collectors": [
    "connect"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "http_connection_pool": "\"https-jsse-nio-6848\"",
      "service_name": "admin-service",
      "thread_pool_connection_count": 2.0,
      "thread_pool_connection_current_thread_busy": 1.0,
      "thread_pool_connection_current_thread_count": 25.0,
      "thread_pool_connection_keepalive_count": 1.0,
      "thread_pool_connection_max_connections": 10000.0,
      "thread_pool_connection_max_keepalive_requests": 100.0,
      "thread_pool_connection_usage": 2.0E-4
    },
    {
      "host": "127.0.0.1",
      "http_connection_pool": "\"http-nio-6888\"",
      "service_name": "ams-service",
      "thread_pool_connection_count": 1.0,
      "thread_pool_connection_current_thread_busy": 0.0,
      "thread_pool_connection_current_thread_count": 25.0,
      "thread_pool_connection_keepalive_count": 0.0,
      "thread_pool_connection_max_connections": 10000.0,
      "thread_pool_connection_max_keepalive_requests": 100.0,
      "thread_pool_connection_usage": 1.0E-4
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

Metric description:

Metric Description Example Value Unit
host Current host IP 127.0.0.1 —
http_connection_pool HTTP connection name "https-jsse-nio-6848" —
service_name Service name admin-service —
thread_pool_connection_count Number of HTTP connections 2.0 —
thread_pool_connection_current_thread_busy Number of threads currently processing requests 1.0 —
thread_pool_connection_current_thread_count Current number of threads 25.0 —
thread_pool_connection_keepalive_count Number of keep-alive HTTP connections 1.0 —
thread_pool_connection_max_connections Maximum number of HTTP connections 10000.0 —
thread_pool_connection_max_keepalive_requests Maximum number of keep-alive HTTP connections 100.0 —
thread_pool_connection_usage HTTP connection usage 2.0E-4 %

# HTTP Requests

  • URL: aas-console/metrics/data/request

Sample response (first 2 rows):

{
  "timestamp": 1787556235,
  "category": "request",
  "collectors": [
    "request"
  ],
  "rows": [
    {
      "error_count": 0.0,
      "long_request_count": 0.0,
      "max_time": 0.0,
      "processor": "http-nio-6888",
      "request_count": 0.0,
      "slow_requests_in_the_last_ten_minutes": 0.0
    },
    {
      "error_count": 1.0,
      "long_request_count": 0.0,
      "max_time": 407.0,
      "processor": "https-jsse-nio-6848",
      "request_count": 13.0,
      "slow_requests_in_the_last_ten_minutes": 0.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Metric description:

Metric Description Example Value Unit
processor HTTP channel name https-jsse-nio-6848 —
error_count Request error count 1.0 —
long_request_count Slow request (long thread) count 0.0 —
max_time Longest request processing time 407.0 —
request_count Request count 13.0 —
slow_requests_in_the_last_ten_minutes Number of slow requests in the last ten minutes 0.0 —

# Slow SQL Count

  • URL: aas-console/metrics/data/slow-query

Sample response (first 1 row):

{
  "timestamp": 1787556235,
  "category": "slow-query",
  "collectors": [
    "slow-query"
  ],
  "rows": [
    {
      "host": "127.0.0.1",
      "jdbc_pool_name": "test",
      "slow_query_count": 0.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Metric description:

Metric Description Example Value Unit
slow_query_count Slow SQL request count 0.0 —
jdbc_pool_name Database connection pool name test —

# Exporter

  • URL: aas-console/metrics/data/exporter

Sample response (first 1 row):

{
  "timestamp": 1787556235,
  "category": "exporter",
  "collectors": [
    "exporter-status"
  ],
  "rows": [
    {
      "exporter_running_status": 1.0,
      "host": "127.0.0.1",
      "jmx_connection_status": 1.0
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Metric description:

Metric Description Example Value Unit
exporter_running_status Exporter running status (1: running, 0: stopped) 1.0 —
host Current host IP 127.0.0.1 —
jmx_connection_status JMX connection status (1: connected, 0: connection refused) 1.0 —

# JMX Monitoring

# JVM Memory

  • MBean ObjectName: java.lang:type=Memory
  • Implementation class: sun.management.MemoryImpl
Attribute Type Description Field Meaning / Unit
HeapMemoryUsage CompositeData(MemoryUsage) Heap memory usage init/used/committed/max → Bytes; used/max derived as usage (ratio)
NonHeapMemoryUsage CompositeData(MemoryUsage) Non-heap memory usage Same as above
ObjectPendingFinalizationCount int Number of objects pending finalization count
Verbose boolean Whether GC verbose logging is enabled —

# JVM GC

  • MBean ObjectName pattern: java.lang:type=GarbageCollector,name=*
  • Typical instances: name=PS Scavenge, name=PS MarkSweep, name=G1 Young Generation, name=G1 Old Generation, name=ZGC, name=Shenandoah Cycles
Attribute Type Description Unit
Name String GC collector name (also used as the name label of the ObjectName) —
CollectionCount long Cumulative GC count since JVM startup times
CollectionTime long Cumulative GC time since JVM startup milliseconds
LastGcInfo CompositeData(GcInfo) Details of the most recent GC, including id, startTime, endTime, duration (milliseconds), memoryUsageBeforeGc, memoryUsageAfterGc, GcThreadCount —
MemoryPoolNames String[] Memory pools managed by this GC —
Valid boolean Whether the MBean is still valid —

# JVM Memory Pools

  • MBean ObjectName pattern: java.lang:type=MemoryPool,name=*
  • Typical instances: PS Eden Space, PS Survivor Space, PS Old Gen, Metaspace, Compressed Class Space, Code Cache, G1 Eden, G1 Survivor, G1 Old Gen, etc.
Attribute Type Description Unit
Name String Memory pool name (also used as the name label of the ObjectName) —
Type String HEAP or NON_HEAP —
Usage CompositeData(MemoryUsage) Current usage init/used/committed/max → Bytes
PeakUsage CompositeData(MemoryUsage) Peak usage since last reset Bytes
CollectionUsage CompositeData(MemoryUsage) Usage after GC collection Bytes
UsageThreshold long Usage alarm threshold Bytes
UsageThresholdCount long Number of times the threshold was exceeded times
UsageThresholdSupported boolean Whether threshold alarms are supported —
CollectionUsageThreshold / ...Count / ...Supported long / boolean Collection threshold related Bytes / times / —
MemoryManagerNames String[] Associated GC collectors —

# Operating System

  • MBean ObjectName: java.lang:type=OperatingSystem
  • Implementation class: sun.management.OperatingSystemImpl
Attribute Type Description Unit
Name / Version / Arch String System name / version / architecture —
AvailableProcessors int Number of available CPU cores count
SystemCpuLoad double Overall system CPU usage (last 1s sample) ratio (0~1)
ProcessCpuLoad double Current process CPU usage (last 1s sample) ratio (0~1)
ProcessCpuTime long Cumulative process CPU time nanoseconds
CommittedVirtualMemorySize long Committed virtual memory Bytes
TotalPhysicalMemorySize long Total physical memory size Bytes
FreePhysicalMemorySize long Free physical memory Bytes
TotalSwapSpaceSize long Total swap space size Bytes
FreeSwapSpaceSize long Free swap space Bytes
OpenFileDescriptorCount long Number of open file descriptors (Unix only) count
SystemLoadAverage double System 1-minute load average (-1 means unsupported) —

# JVM Process

  • MBean ObjectName: java.lang:type=Runtime
  • Implementation class: sun.management.RuntimeImpl
Attribute Type Description Unit
Name String Runtime name (<pid>@<host>) —
VmName / VmVendor / VmVersion String JVM implementation information —
SpecName / SpecVendor / SpecVersion String Java specification information —
ManagementSpecVersion String Management specification version —
ClassPath String Application class path —
BootClassPath String Boot class path —
LibraryPath String Library loading path —
StartTime long JVM start time millisecond timestamp
Uptime long JVM elapsed uptime milliseconds
InputArguments String[] Startup arguments —
SystemProperties TabularData Collection of system properties —
BootClassPathSupported boolean Whether boot class path is supported —

# JVM Threads

  • MBean ObjectName: java.lang:type=Threading
Attribute Type Description Unit
ThreadCount int Current active thread count count
DaemonThreadCount int Current daemon thread count count
PeakThreadCount int Historical peak thread count count
TotalStartedThreadCount long Cumulative started thread count count
ThreadCpuTimeSupported / ThreadCpuTimeEnabled boolean Whether CPU time measurement is supported/enabled —
ThreadContentionMonitoringSupported / ...Enabled boolean Whether thread contention monitoring is supported/enabled —
ThreadAllocatedMemorySupported / ...Enabled boolean Whether thread memory allocation monitoring is supported/enabled —
ObjectMonitorUsageSupported / SynchronizerUsageSupported boolean Whether Monitor/Synchronizer queries are supported —
CurrentThreadCpuTime / CurrentThreadUserTime long Current thread CPU/user-mode time nanoseconds
CurrentThreadAllocatedBytes long Bytes allocated by the current thread Bytes
AllThreadIds long[] All thread IDs —

# JIT Compiler

  • MBean ObjectName: java.lang:type=Compilation
Attribute Type Description Unit
Name String Compiler name (e.g. HotSpot 64-Bit Tiered Compilers) —
TotalCompilationTime long Cumulative compilation time since startup ms
CompilationTimeMonitoringSupported boolean Whether compilation time monitoring is supported ms

# JVM Class Loading

  • MBean ObjectName: java.lang:type=ClassLoading (accessed by code via the ClassLoadingMXBean proxy)
Attribute Type Description Unit
LoadedClassCount int Current number of loaded classes count
TotalLoadedClassCount long Total number of classes loaded count
UnloadedClassCount long Total number of classes unloaded count
Verbose boolean Whether class loading verbose logging is enabled —

# JVM Buffer Pools

  • MBean ObjectName pattern: java.nio:type=BufferPool,name=*
  • Typical instances: name=direct, name=mapped, name=mapped - 'non-volatile memory' (JDK 14+ NVM)
Attribute Type Description Unit
Name String Buffer name (direct / mapped / mapped-nvm, also used as the name label of the ObjectName) —
Count long Number of allocated DirectByteBuffers count
TotalCapacity long Total buffer capacity Bytes
MemoryUsed long Bytes used Bytes

# JVM Internal Threads

  • MBean ObjectName: sun.management:type=HotspotThread (HotSpot private, obtained via sun.management.ManagementFactoryHelper.getHotspotThreadMBean())
Method Return Type Description
getInternalThreadCpuTimes() Map<String, Long> Returns a map of CPU times for JVM internal threads (including C1/C2 compiler threads, GC threads, etc.) (key = thread name, value = nanoseconds)

# HTTP Thread Pool

  • MBean ObjectName pattern: *:type=Executor,name=*
  • Actual examples: admin-service:name=admin-thread-pool,type=Executor, ams-service:name=http-thread-pool,type=Executor
  • Implementation class: com.apusic.ams.core.StandardThreadExecutor (modelerType)
Attribute Type Description Unit
name (ObjectName key) String Thread pool name —
domain (ObjectName key) String Service domain name —
stateName String State (e.g. STARTED) —
corePoolSize int Core thread count count
maxThreads int Maximum thread count count
minSpareThreads int Minimum spare thread count count
poolSize int Current thread pool size count
largestPoolSize int Historical maximum thread count count
activeCount int Current active thread count count
blockedCount int Current blocked thread count count
queueSize int Current task queue size count
maxQueueSize int Queue capacity limit (-1 = unlimited) count
maxIdleTime int Idle thread timeout milliseconds
threadStepReclaim boolean Whether stepped thread reclamation is enabled —
threadStepTime long Stepped reclamation interval milliseconds
threadStepSize int Number of threads reclaimed per step count
threadRenewalDelay long Thread renewal delay milliseconds
namePrefix String Generated thread name prefix —
threadPriority int Thread priority —
daemon boolean Whether threads are daemon —
completedTaskCount long Cumulative completed task count count
prestartminSpareThreads boolean Whether to prestart core threads —
modelerType String Fully qualified implementation class name —

# HTTP Connection Channel

  • MBean ObjectName pattern: *:type=ThreadPool,name=*
  • Actual examples: admin-service:name="https-jsse-nio-6848",type=ThreadPool, ams-service:name="http-nio-6888",type=ThreadPool
  • Implementation class: com.apusic.aas.util.net.NioEndpoint (modelerType)
Attribute Type Description Unit
name (ObjectName key) String Endpoint name (e.g. https-jsse-nio-6848, http-nio-6888) —
domain (ObjectName key) String Service domain name —
port / portWithOffset / localPort int Listening port —
connectionCount long Current HTTP connection count count
maxConnections int Maximum HTTP connections count
keepAliveCount int Keep-alive connection count count
maxKeepAliveRequests int Maximum keep-alive requests per connection count
keepAliveTimeout int Keep-alive timeout milliseconds
currentThreadCount int Current thread count count
currentThreadsBusy int Threads currently processing requests count
maxThreads int Maximum thread count (-1 = unlimited) count
minSpareThreads int Minimum spare thread count (-1) count
acceptCount int Accept queue length count
connectionTimeout int Connection timeout milliseconds
connectionLinger int Linger time after close (-1 = disabled) seconds
tcpNoDelay boolean Whether Nagle is disabled —
deferAccept boolean Whether accept is deferred —
useSendfile boolean Whether sendfile is enabled —
sSLEnabled boolean Whether TLS is enabled —
paused boolean Whether paused —
running boolean Whether running —
selectorTimeout long NIO Selector timeout milliseconds
executorTerminationTimeoutMillis long Thread pool termination timeout milliseconds
acceptorThreadCount / pollerThreadCount int accept/poller thread counts count
acceptorThreadPriority / pollerThreadPriority int accept/poller thread priorities —
threadPriority int Worker thread priority (-1) —
bindOnInit boolean Whether to bind the port immediately at startup —
useInheritedChannel boolean Whether to inherit the channel —
alpnSupported boolean Whether ALPN is supported —
sniParseLimit int SNI parsing length limit —
sslImplementationName String TLS implementation class name —
defaultSSLHostConfigName String Default SSL HostConfig name —
modelerType String Fully qualified implementation class name —
daemon boolean Whether daemon —

# HTTP Requests

  • MBean ObjectName pattern: *:type=GlobalRequestProcessor,name=*
Attribute Type Description Unit
requestCount int Cumulative request count count
errorCount int Cumulative error count (response code ≥ 400) count
processingTime long Cumulative processing time milliseconds
maxTime long Longest single processing time milliseconds
bytesReceived long Cumulative bytes received Bytes
bytesSent long Cumulative bytes sent Bytes
longRequestCount int Current in-progress slow request count count
longRequestTotalCount int Historical cumulative slow request count count
modelerType String Implementation class (com.apusic.connector.RequestGroupInfo) —

# Session Monitoring

  • MBean ObjectName pattern: *:type=Manager,host=*,context=*
  • Actual examples: admin-service:context=/aas-console,host=admin,type=Manager, ams-service:context=/ROOT,host=localhost,type=Manager
  • Implementation class: com.apusic.ams.session.StandardManager
Attribute Type Description Unit
activeSessions int Current active Session count count
expiredSessions long Total expired Session count count
rejectedSessions int Number of Sessions rejected for creation count
passivatedSessions long Number of passivated Sessions count
sessionCreateRate int Session creation rate count/second
sessionExpireRate int Session expiration rate count/second
sessionCounter long Cumulative Session creation count count
maxActive int Historical maximum active Session count count
maxActiveSessions int Maximum concurrent Sessions (-1 = unlimited) count
processingTime long Total Session processing time milliseconds
sessionAverageAliveTime int Average Session alive time seconds
sessionMaxAliveTime int Maximum Session alive time seconds
duplicates int Number of duplicate Session IDs count
processExpiresFrequency int Expiration scan interval seconds
stateName String State name —
pathname String Persistence file path —
sessionAttributeNameFilter / sessionAttributeValueClassNameFilter String Attribute filters —
warnOnSessionAttributeFilterFailure boolean Warn on filter failure —
secureRandomAlgorithm / secureRandomClass / secureRandomProvider String Random number source —
jvmRoute String Cluster session affinity ID —
persistAuthentication boolean Whether to retain login state across restarts —
modelerType / className String Implementation class name —

# JSP Monitoring

  • MBean ObjectName pattern: *:type=JspMonitor,*name=jsp
Attribute Type Description Unit
jspCount int Number of loaded JSPs count
jspReloadCount int Number of reloads count
jspUnloadCount int Number of unloads count
jspQueueLength int JSP compilation queue length (-1 = disabled) count

# Servlet Monitoring

  • MBean ObjectName pattern: *:j2eeType=Servlet,* (typical example: admin-service:J2EEApplication=none,J2EEServer=none,WebModule=//admin/aas-console,j2eeType=Servlet,name=dispatcherServlet)
Attribute Type Description Unit
name (ObjectName key) String Servlet name (e.g. dispatcherServlet, jsp, default) —
WebModule (ObjectName key) String Web module path (e.g. //admin/aas-console), split into virtual_host_name/context_path labels —
servletClass String Servlet implementation class name —
available long Availability time (0 = available, Long.MAX_VALUE = permanently unavailable) millisecond timestamp
stateName String State (e.g. STARTED) —
loadOnStartup int Load-on-startup priority (-1 = on demand) —
loadTime long Initialization time milliseconds
classLoadTime int Class loading time milliseconds
processingTime long Cumulative processing time milliseconds
maxTime long Longest single processing time milliseconds
minTime long Shortest single processing time (Long.MAX_VALUE treated as 0) milliseconds
requestCount int Cumulative request count count
errorCount int Error count (response code ≥ 400) count
countAllocated int Currently allocated instance count count
maxInstances int Maximum instance count count
singleThreadModel boolean Whether single-thread model —
asyncSupported boolean Whether async is supported —
backgroundProcessorDelay int Background scheduling delay (-1 = disabled) seconds
runAs String run-as role —
modelerType String Implementation class (com.apusic.ams.core.StandardWrapper) —

# JDBC Data Source

  • MBean ObjectName pattern: *:type=DataSource,*
  • Actual examples: admin-service:class=javax.sql.DataSource,name="test",type=DataSource
  • Implementation class: com.apusic.aas.jdbc.pool.DataSource (modelerType)
Attribute Type Description Unit
name (ObjectName key) String Pool name (e.g. test; surrounding quotes are stripped) —
driverClassName / driverPath String Driver class / driver JAR path —
url String JDBC URL —
username / password String credentials (password masked) —
numActive int Current active connection count count
numIdle int Current idle connection count count
size int Current total pool connection count count
idle / active int Another idle/active view count
maxActive / maxTotal int Maximum pool size count
maxIdle int Maximum idle connection count count
minIdle int Minimum idle connection count count
initialSize int Initial pool size count
maxWait / maxWaitMillis int Maximum wait time milliseconds
timeBetweenEvictionRunsMillis int eviction scan interval (leak detection period) milliseconds
minEvictableIdleTimeMillis int Idle timeout milliseconds
validationQueryTimeout int Validation timeout seconds
numTestsPerEvictionRun int Number of tests per eviction run count
testWhileIdle / testOnBorrow / testOnReturn / testOnConnect boolean Whether to validate at each phase —
removeAbandoned / removeAbandonedTimeout / logAbandoned boolean / int / boolean leak reclaim configuration — / seconds / —
abandonWhenPercentageFull int Occupancy threshold that triggers leak reclaim %
defaultCatalog String Default catalog —
defaultTransactionIsolation int Default transaction isolation level —
defaultAutoCommit / defaultReadOnly Boolean Default auto-commit/read-only —
jdbcInterceptors String Interceptor chain (e.g. com.apusic.aas.jdbc.pool.interceptor.SqlTraceInterceptor) —
validatorClassName / validationQuery String Validator / validation SQL —
initSQL / connectionProperties String Initialization SQL / connection properties —
useDisposableConnectionFacade / useStatementFacade / accessToUnderlyingConnectionAllowed boolean Various switches —
alternateUsernameAllowed / commitOnReturn / rollbackOnReturn / ignoreExceptionOnPreLoad boolean Connection behavior switches —
jmxEnabled / fairQueue / useLock / useEquals / propagateInterruptState boolean Pool behavior switches —
poolSweeperEnabled / validationInterval / maxAge boolean / long / long Scan and lifetime control — / milliseconds / milliseconds
loginTimeout int Login timeout seconds
waitCount / borrowedCount / returnedCount / createdCount / releasedCount / reconnectedCount / releasedIdleCount / removeAbandonedCount / suspectCount int / long Various cumulative counters times
dataSourceJNDI / dataSource String / Object JNDI name / underlying DataSource —
className / modelerType String Implementation class name —
ResourceName String Resource name —

# Slow SQL Count

  • MBean ObjectName pattern: com.apusic.aas.jdbc.pool:type=SqlTraceConfig
Attribute Type Description Unit
SlowQueryCount Map<String, AtomicLong> Cumulative slow SQL count for all data sources; key is the data source name, value is the slow SQL count count
编辑页面 (opens new window)

← Command Line Operation Guide API Documentation→

  • 浅色模式