ARMS supports access from Java and PHP applications. This topic lists the third-party components and frameworks of Java and PHP applications that ARMS supports.

Java components and frameworks supported

Component JDK 1.7 JDK 1.8
Dubbo 2.5.X+ 2.5.X+
Google HTTP Client 1.10.X+ 1.10.X+
HttpClient 3 3.X+ 3.X+
HttpClient 4 4.X+ 4.X+
JDK HTTP 1.7.X+ 1.7.X+
Jetty 8.X+ 8.X+
MyBatis 3.X+ 3.X+
MySQL JDBC 5.0.X+ 5.0.X+
Oracle JDBC 10.2.X+ 10.2.X+
OKHttp 2.X+ 2.X+
Redis 2.X+ 2.X+
Spring Boot 1.3.X+ 1.3.X+
Spring 4.X+ 4.X+
Tomcat 7.X+ 7.X+
Undertow 1.3X+ 1.3X+
WebLogic 12.X+ 12.X+
Memcached 2.8+ 2.8+
GRPC-Java 1.15+ 1.15+
Lettuce 4.0+ 4.0+
MariaDB 1.3+ 1.3
MongoDB 3.7+ 3.7+
PostgreSQL JDBC 9.4+ 9.4+
Resin 3.0+ 3.0+
SQL Server JDBC 6.4+ 6.4+
Thrift 0.8+ 0.8+

Components and frameworks not listed in the preceding list

If your development framework is not listed in the preceding list of Java components and frameworks supported by ARMS, you can configure a general filter to collect data. The procedure is as follows:

  1. Introduce arms-sdk-1.7.0.jar to the program.
    <dependency>
    <groupId>com.alibaba.arms.apm</groupId>
    <artifactId>arms-sdk</artifactId>
    <version>1.7.0</version>
    </dependency>
    Note If you cannot obtain the pom.xml file, download arms-sdk-1.7.0-SNAPSHOT.jar.
  2. In web.xml, configure a filter for ARMS.
    <filter>
     <filter-name>EagleEyeFilter</filter-name>
     <filter-class>com.alibaba.arms.filter.EagleEyeFilter</filter-class>
    </filter>
    <filter-mapping>
     <filter-name>EagleEyeFilter</filter-name>
     <url-pattern>/*</url-pattern>
    </filter-mapping>
  3. Install ARMS Agent for your Java application.
  4. After making the configuration, restart your application to make the configuration take effect.

PHP components and frameworks supported

Item Version requirement
PHP version PHP 5.4, 5.5, 5.6, 7.0, 7.1, and 7.2 NTS
NGINX php-fpm
Apache apache2handler
Runtime environment of ARMS PHP Agent glibc-2.12 and later versions