Updated on 2025-11-19 GMT+08:00

Java

Supported Java Types

Currently, APM can connect to Java applications. APM supports multiple mainstream Java frameworks, web servers, communications protocols, and databases.
Table 1 Java components and frameworks supported by self-developed Agents

Agent Type

Component

JDK 1.8

JDK 17

JDK 11

Self-developed

Dubbo

2.6.x

2.6.x

2.6.x

Self-developed

Jedis

2.x.x–3.x.x

2.x.x–3.x.x

2.x.x–3.x.x

Self-developed

Lettuce

5.x.x

5.x.x

5.x.x

Self-developed

ServiceComb

2.x.x

-

-

Self-developed

Log4j

1.x.x

1.x.x

1.x.x

Self-developed

Log4j2

2.x.x

2.x.x

2.x.x

Self-developed

HttpClient

4.x.x

4.x.x–5.3.x (5.x.x applies only to synchronization scenarios)

4.x.x–5.3.x (5.x.x applies only to synchronization scenarios)

Self-developed

MariaDB

2.x.x

2.x.x

2.x.x

Self-developed

MySQL

5.x.x and 8.x.x

5.x.x and 8.x.x

5.x.x and 8.x.x

Self-developed

OkHttpClient

3.x.x

3.x.x

3.x.x

Self-developed

Tomcat

6.x.x

9.x.x

9.x.x

Self-developed

gRPC

1.x.x

1.x.x

1.x.x

Self-developed

MongoDB

3.x.x–4.x.x

3.x.x–4.x.x

3.x.x–4.x.x

Self-developed

C3P0

0.9.x

0.9.x

0.9.x

Self-developed

Cassandra3

3.x.x

3.x.x

3.x.x

Self-developed

DBCP

2.x.x

2.x.x

2.x.x

Self-developed

Druid

1.1.x

1.1.x

1.1.x

Self-developed

HttpAsyncClient

4.x.x

4.x.x

4.x.x

Self-developed

Jetty Client

9.x.x

9.x.x

9.x.x

Self-developed

MariaDB3

3.x.x

3.x.x

3.x.x

Self-developed

MyBatis

3.x.x

3.x.x

3.x.x

Self-developed

PostgreSQL

42.x.x

42.x.x

42.x.x

Self-developed

RabbitMQ

5.x.x

5.x.x

5.x.x

Self-developed

WebSocket

9.x.x

9.x.x

9.x.x

Self-developed

Elasticsearch

7.x.x

7.x.x

7.x.x

Self-developed

Oracle

10.x.x

10.x.x

10.x.x

Self-developed

RocketMQ

4.x.x

4.x.x

4.x.x

Self-developed

Kafka

2.x.x

2.x.x

2.x.x

Self-developed

GaussDB

1.0.2.SPC180.B003

1.0.2.SPC180.B003

1.0.2.SPC180.B003

Self-developed

Spring Cloud Gateway

2.1.x–3.1.x

-

-

Self-developed

Redisson

3.12.x–3.26.x

3.13.x–3.26.x

3.13.x–3.26.x

Table 2 Java components supported by OpenTelemetry Agents

Agent Type

Component

Version

OpenTelemetry

Dubbo

2.7+

OpenTelemetry

Jedis

1.4+

OpenTelemetry

Lettuce

4.0+

OpenTelemetry

Log4j

1.2+

OpenTelemetry

Log4j2

2.11+

OpenTelemetry

HttpClient

2.0+

OpenTelemetry

Tomcat

7.0.x, 8.5.x, 9.0.x, 10.0.x

OpenTelemetry

Jetty

9.4.x, 10.0.x, 11.0.x

OpenTelemetry

gRPC

1.6+

OpenTelemetry

MongoDB

3.1+

OpenTelemetry

Redisson

3.0+

OpenTelemetry

C3P0

0.9.2+

OpenTelemetry

Cassandra3

3.0+

OpenTelemetry

DBCP

2.0+

OpenTelemetry

HttpAsyncClient

4.1+

OpenTelemetry

Jetty Client

9.2+ (not including 10+ yet)

OpenTelemetry

Netty

3.8+

OpenTelemetry

RabbitMQ

2.7+

OpenTelemetry

Undertow

1.4+

OpenTelemetry

Elasticsearch

5.0+

OpenTelemetry

Oracle

11.2+

OpenTelemetry

RocketMQ

4.8+

OpenTelemetry

Kafka

2.7+

OSs Supported by APM JavaAgents

Table 3 OSs supported by APM JavaAgents (2.4.1)

Agent Type

CPU Architecture

vCPUs

Memory

Flavor

OS

System Version

Result

Self-developed

x86

2

4

s2.large.2

CentOS

CentOS 8.1 64-bit for GPU

Supported

Self-developed

x86

2

4

s2.large.2

CentOS

CentOS 7.6 64-bit for Tenant 20230712

Supported

Self-developed

x86

2

4

s2.large.2

CentOS

CentOS 7.3 64-bit

Supported

Self-developed

x86

4

16

Sit3.xlarge.4

CentOS

CentOS 7.4 64-bit

Supported

Self-developed

x86

2

4

s2.large.2

CentOS

CentOS 6.8 64-bit

Supported

Self-developed

x86

2

4

s2rm.2u.4g

Debian

Debian 11.1.0 64-bit for Tenant 20221227

Supported

Self-developed

x86

2

4

s2.large.2

Ubuntu

Ubuntu 22.04 server 64-bit for Tenant 20230713

Supported

Self-developed

x86

2

4

s2.large.2

Ubuntu

Ubuntu 16.04 server 64-bit

Supported

Self-developed

x86

2

4

s2.large.2

Huawei Cloud EulerOS

Huawei Cloud EulerOS 2.0 Standard 64-bit for Tenant 20230606 base 2.0.2303.1

Supported

Self-developed

x86

2

4

s2.large.2

Huawei Cloud EulerOS

Huawei Cloud EulerOS 1.1 for CentOS 64-bit for op5 Tenant 20230217 base 1.1.2212.1

Supported

Self-developed

x86

2

4

s2.large.2

EulerOS

EulerOS 2.9 64-bit for Tenant 20230728 base 2.9.15

Supported

Self-developed

x86

2

4

s2.large.2

EulerOS

EulerOS 2.5 64-bit for Tenant 2023714 base 2.5.15

Supported

Self-developed

x86

2

4

s2.large.2

EulerOS

EulerOS 2.2 64-bit for Tenant 20210227

Supported

Self-developed

x86

2

4

s2.large.2

Windows

Windows Server 2019 Standard 64-bit 40 GB

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

Huawei Cloud EulerOS

Huawei Cloud EulerOS 2.0 Standard 64-bit for Arm for Tenant 20230411 base 2.0.2303.1 (40 GiB) (bf7488b4-d9b3-4314-b2a9-e39094f573d2)

Supported (JDK 11.0.17 by default)

Self-developed

Kunpeng

2

4

kc1.large.2

CentOS

CentOS 7.6 64-bit with Arm

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

CentOS

CentOS 7.5 64-bit with Arm (40 GiB)

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

CentOS

CentOS 7.4 64-bit with Arm (40 GiB)

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

CentOS

Kylin Linux Advanced Server (Kunpeng) V10 (40 GiB)

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

Ubuntu

Ubuntu 18.04 64-bit with Arm (40 GiB)

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

EulerOS

EulerOS 2.9 64-bit with Arm for Tenant 20230419 base 2.9.14

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

EulerOS

EulerOS 2.8 64-bit with Arm for Tenant 20210309 (40 GiB)

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

EulerOS

EulerOS 2.10 64-bit with Arm for Tenant 20230404 base 2.10.7

Supported

Self-developed

Kunpeng

2

4

kc1.large.2

Fedora

Fedora 29 64-bit with Arm (40 GiB)

Supported