Enable JaxRS Instrumentation
MODIFY
dd-java-agent/instrumentation/jax-rs-client/src/main/java/datadog/trace/instrumentation/jaxrs/JaxRsClientInstrumentation.java
dd-java-agent/instrumentation/jax-rs-client/src/main/java/datadog/trace/instrumentation/jaxrs/JaxRsClientInstrumentation.java
@@ -21,11 +21,6 @@ public final class JaxRsClientInstrumentation extends Instrumenter.Configurable
super("jax-rs", "jaxrs", "jax-rs-client");
}
- @Override
- protected boolean defaultEnabled() {
- return false;
- }
-
@Override
protected AgentBuilder apply(final AgentBuilder agentBuilder) {
return agentBuilder

MODIFY
dd-java-agent/instrumentation/jax-rs-client/src/test/groovy/JaxRsClientTest.groovy
dd-java-agent/instrumentation/jax-rs-client/src/test/groovy/JaxRsClientTest.groovy
@@ -18,10 +18,6 @@ import java.util.concurrent.atomic.AtomicReference
import static ratpack.groovy.test.embed.GroovyEmbeddedApp.ratpack
class JaxRsClientTest extends AgentTestRunner {
- static {
- System.setProperty("dd.integration.jax-rs.enabled", "true")
- }
-
def receivedHeaders = new AtomicReference<Headers>()
def server = ratpack {
handlers {

Enable JaxRS Instrumentation