Open source tracing
It provides the configuration method how to trace frameworks or open source libraries used in Java applications through the agent. It is configured by adding the weaving
option in the Java agent configuration file (whatap.conf). The guide on how to respond to various framework and library versions is also provided.
${WHATAP_HOME}/whatap.conf
weaving=
For configuration of the framework or open source to trace through the Java agent, see the following:
Framework/open source | Versions | Configuration | Minimum agent version | Remarks |
---|---|---|---|---|
apache-camel-cxf | camel-cxf-3.15 or later | weaving=camel-cxf-3.15 | v2.2.27 | - |
apache-camel-seda | camel-seda-2.22 or later | weaving=camel-seda-2.22 | v2.2.20 | - |
camel-seda-3.2 or later | weaving=camel-seda-3.2 | v2.2.20 | - | |
db2 | db2-11.5 or later | weaving=db2-11.5 | v2.2.18 | - |
feign-client | feign-11 or later | weaving=feign-11 | v2.2.6 | - |
hystrix | hystrix-1.5 or later | weaving=hystrix-1.5 | v2.0_21 | - |
kafka | kafka-clients-2.4.0 or later | weaving=kafka-clients-2.4.0 | v2.2.15 | - |
reactor-kafka-1.3 or later | weaving=reactor-kafka-1.3 | v2.2.5 | - | |
redis (jedis) | jedis-2.9.3 or later | weaving=jedis-2.9.3 | v2.0_33 | - |
jedis-3.2 or later | weaving=jedis-3.2 | v2.0_09 | - | |
redis (lettuce) | lettuce-5.1 or later | weaving=lettuce-5.1 | v2.2.7 | - |
lettuce-6.2 or later | weaving=lettuce-6.2 | v2.2.16 | - | |
mongodb, mongodb-reactive | mongodb-3.8.2 or later | weaving=mongodb-3.8.2 | v2.2.11 | - |
mongodb-4.0.3 or later | weaving=mongodb-4.0.3 | v2.2.11 | - | |
mongodb-4.4 or later | weaving=mongodb-4.4 | v2.2.11 | - | |
mongodb-4.8 or later | weaving=mongodb-4.8 | v2.2.11 | - | |
mule framework | mule-3.9.5 or later | weaving=mule-3.9.5 | v2.2.23 | - |
mule-4.5 or later | weaving=mule-4.5 | v2.2.23 | - | |
okhttp | okhttp-2.7 or later | weaving=okhttp-2.7 | v2.0_15 | - |
okhttp3 or later | weaving=okhttp3 | v2.0_15 | - | |
okhttp3-4.4 | weaving=okhttp3-4.4 | v2.2.9 | - | |
quarkus, quarkus-reactive | quarkus-reactive-1.13 or later | weaving=quarkus-reactive-1.13 | v2.2.19 | - |
quarkus-reactive-2.10 or later | weaving=quarkus-reactive-2.10 | v2.2.19 | - | |
rabbitmq | reactor-rabbitmq-1.2 or later | weaving=reactor-rabbitmq-1.2 | v2.0_06 | - |
retrofit | retrofit2-2.5 or later | weaving=retrofit-2.5 | - | (To be released) |
ribbon | ribbon | weaving=ribbon | v2.2.10 | - |
spring-boot | spring-boot-2.1 or later | weaving=spring-boot-2.1 | v2.2.23 | Including kafka-clients, r2dbc-mysql, spring-cloud-gateway, spring-webflux, tomcat9, and undertow |
spring-boot-2.5 or later | weaving=spring-boot-2.5 | v2.2.9 | Including kafka-clients, r2dbc-mysql, redis(lettuce), spring-cloud-gateway, spring-webflux, tomcat9, and undertow | |
spring-boot-2.7 or later | weaving=spring-boot-2.7 | v2.2.9 | Including jasync-r2dbc-mysql, kafka-clients, r2dbc-mysql, redis(lettuce), spring-cloud-gateway, spring-webflux, tomcat9, and undertow | |
spring-boot-3.0 or later | weaving=spring-boot-3.0 | v2.2.9 | Including jasync-r2dbc-mysql, kafka-clients, r2dbc-mysql, redis(lettuce), spring-cloud-gateway,spring-webflux, tomcat10, and undertow | |
tomcat | tomcat9 | weaving=tomcat9 | v2.2.5 | - |
tomcat10 | weaving=tomcat10 | v2.2.5 | - | |
undertow | undertow-2.3 or later | weaving=undertow-2.3 | v2.2.14 | - |
When using spring-boot-3.x, feign-client-11, or okhttp3-4.4 with a framework or open source, set the options as follows:
whatap.conf
weaving=spring-boot-3.0,feign-11,okhttp3-4.4