This topic describes third-party Java components and frameworks supported by Application Real-Time Monitoring Service (ARMS). If the components or frameworks used by the application that you want to monitor are not supported by ARMS, you must configure a universal Filter interceptor to collect monitoring data.
Java components and frameworks supported by ARMS
Component | JDK 1.7 | JDK 1.8 |
---|---|---|
Dubbo | 2.5.X+ | 2.5.X+ |
Feign | Not supported | 9.X+ |
Google HTTP Client | 1.10.X+ | 1.10.X+ |
GRPC-Java | 1.15+ | 1.15+ |
HttpClient 3 | 3.X+ | 3.X+ |
HttpClient 4 | 4.X+ | 4.X+ |
Hystrix | 1.5.X+ | 1.5.X+ |
JDK HTTP | 1.7.X+ | 1.7.X+ |
Jetty | 8.X+ | 8.X+ |
Lettuce | 4.0+ | 4.0+ |
MariaDB | 1.3+ | 1.3+ |
MemCached | 2.8+ | 2.8+ |
MongoDB | 3.7+ | 3.7+ |
MyBatis | 3.X+ | 3.X+ |
MySQL JDBC | 5.0.X+ | 5.0.X+ |
OKHttp | 2.X+ | 2.X+ |
Oracle JDBC | 10.2.X+ | 10.2.X+ |
PostgreSql JDBC | 9.4+ | 9.4+ |
Reactor | Not supported | 3.X+ |
Reactor Netty | Not supported | 0.9+ |
Redis | 2.X+ | 2.X+ |
Resin | 3.0+ | 3.0+ |
RxJava | 2.X+ | 2.X+ |
Spring | 4.X+ | 4.X+ |
Spring Boot | 1.3.X+ | 1.3.X+ |
Spring Cloud Gateway | Not supported | 5.0.0.RELEASE+ |
Spring WebFlux | Not supported | 5.0.0.RELEASE+5.0.0.RELEASE+ |
SQLServer JDBC | 6.4+ | 6.4+ |
Thrift | 0.8+ | 0.8+ |
Tomcat | 7.X+ | 7.X+ |
Undertow | 1.3X+ | 1.3X+ |
WebLogic | 12.X+ | 12.X+ |
Configure a universal Filter interceptor to collect data
If the components or frameworks of an application are not supported by ARMS, you can configure a universal Filter interceptor to collect data. Perform the following operations:
- Import arms-sdk-1.7.1.jar to the pom.xml file.
<dependency> <groupId>com.alibaba.arms.apm</groupId> <artifactId>arms-sdk</artifactId> <version>1.7.1</version> </dependency>
Note If you cannot retrieve pom.xml, download arms-sdk-1.7.1.jar. - Configure the ARMS Filter interceptor in web.xml.
<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>
- Log on to the ARMS console.
- Install the ARMS agent for the Java application. For more information, see Manually install the ARMS agent for Java applications.
- Restart the application for the configuration to take effect.