Skip to main content

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 sourceVersionsConfigurationMinimum agent versionRemarks
apache-camel-cxfcamel-cxf-3.15 or laterweaving=camel-cxf-3.15v2.2.27-
apache-camel-sedacamel-seda-2.22 or laterweaving=camel-seda-2.22v2.2.20-
camel-seda-3.2 or laterweaving=camel-seda-3.2v2.2.20-
db2db2-11.5 or laterweaving=db2-11.5v2.2.18-
feign-clientfeign-11 or laterweaving=feign-11v2.2.6-
hystrixhystrix-1.5 or laterweaving=hystrix-1.5v2.0_21-
kafkakafka-clients-2.4.0 or laterweaving=kafka-clients-2.4.0v2.2.15-
reactor-kafka-1.3 or laterweaving=reactor-kafka-1.3v2.2.5-
redis (jedis)jedis-2.9.3 or laterweaving=jedis-2.9.3v2.0_33-
jedis-3.2 or laterweaving=jedis-3.2v2.0_09-
redis (lettuce)lettuce-5.1 or laterweaving=lettuce-5.1v2.2.7-
lettuce-6.2 or laterweaving=lettuce-6.2v2.2.16-
mongodb, mongodb-reactivemongodb-3.8.2 or laterweaving=mongodb-3.8.2v2.2.11-
mongodb-4.0.3 or laterweaving=mongodb-4.0.3v2.2.11-
mongodb-4.4 or laterweaving=mongodb-4.4v2.2.11-
mongodb-4.8 or laterweaving=mongodb-4.8v2.2.11-
mule frameworkmule-3.9.5 or laterweaving=mule-3.9.5v2.2.23-
mule-4.5 or laterweaving=mule-4.5v2.2.23-
okhttpokhttp-2.7 or laterweaving=okhttp-2.7v2.0_15-
okhttp3 or laterweaving=okhttp3v2.0_15-
okhttp3-4.4weaving=okhttp3-4.4v2.2.9-
quarkus, quarkus-reactivequarkus-reactive-1.13 or laterweaving=quarkus-reactive-1.13v2.2.19-
quarkus-reactive-2.10 or laterweaving=quarkus-reactive-2.10v2.2.19-
rabbitmqreactor-rabbitmq-1.2 or laterweaving=reactor-rabbitmq-1.2v2.0_06-
retrofitretrofit2-2.5 or laterweaving=retrofit-2.5-(To be released)
ribbonribbonweaving=ribbonv2.2.10-
spring-bootspring-boot-2.1 or laterweaving=spring-boot-2.1v2.2.23Including kafka-clients, r2dbc-mysql, spring-cloud-gateway, spring-webflux, tomcat9, and undertow
spring-boot-2.5 or laterweaving=spring-boot-2.5v2.2.9Including kafka-clients, r2dbc-mysql, redis(lettuce), spring-cloud-gateway, spring-webflux, tomcat9, and undertow
spring-boot-2.7 or laterweaving=spring-boot-2.7v2.2.9Including jasync-r2dbc-mysql, kafka-clients, r2dbc-mysql, redis(lettuce), spring-cloud-gateway, spring-webflux, tomcat9, and undertow
spring-boot-3.0 or laterweaving=spring-boot-3.0v2.2.9Including jasync-r2dbc-mysql, kafka-clients, r2dbc-mysql, redis(lettuce), spring-cloud-gateway,spring-webflux, tomcat10, and undertow
tomcattomcat9weaving=tomcat9v2.2.5-
tomcat10weaving=tomcat10v2.2.5-
undertowundertow-2.3 or laterweaving=undertow-2.3v2.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